Skip to content

Commit

Permalink
Merge pull request #57 from cloudinary/v3.1.0
Browse files Browse the repository at this point in the history
V3.1.0
  • Loading branch information
Pniel (Pini) Cohen authored Jan 16, 2020
2 parents 20a66b5 + d68a2d0 commit 6d8262b
Show file tree
Hide file tree
Showing 107 changed files with 26,582 additions and 2,011 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

class Cloudinary_Cloudinary_Model_Observer_Autoload extends Mage_Core_Model_Abstract
{
/**
* @param Varien_Event_Observer $event
*/
public function autoloadRegister(Varien_Event_Observer $event)
{
require_once(Mage::getBaseDir('lib') . DS . 'CloudinaryExtension' . DS . 'vendor' . DS. 'autoload.php');
}
}
11 changes: 10 additions & 1 deletion app/code/community/Cloudinary/Cloudinary/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Cloudinary_Cloudinary>
<version>3.0.3</version>
<version>3.1.0</version>
</Cloudinary_Cloudinary>
</modules>

Expand Down Expand Up @@ -92,6 +92,15 @@
</cloudinary_cloudinary>
</helpers>
<events>
<controller_front_init_before>
<observers>
<cloudinary_autoloader>
<type>singleton</type>
<class>cloudinary_cloudinary/observer_autoload</class>
<method>autoloadRegister</method>
</cloudinary_autoloader>
</observers>
</controller_front_init_before>
<catalog_product_save_after>
<observers>
<upload_images_to_cloudinary>
Expand Down
449 changes: 0 additions & 449 deletions lib/Cloudinary/Api.php

This file was deleted.

72 changes: 0 additions & 72 deletions lib/Cloudinary/AuthToken.php

This file was deleted.

Loading

0 comments on commit 6d8262b

Please sign in to comment.