Mage_Imaclean - Version 1.2.0

Version Notes

* Exclude placeholder folder

Download this release

Release Info

Developer Manuel Canepa
Extension Mage_Imaclean
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.0 to 1.2.0

app/code/community/Defcon2/Imaclean/Helper/Data.php CHANGED
@@ -18,7 +18,7 @@ class Defcon2_Imaclean_Helper_Data extends Mage_Core_Helper_Abstract {
18
  if ($dir = opendir($path)) {
19
  while (($entry = readdir($dir)) !== false) {
20
  if (preg_match('/^\./', $entry) != 1) {
21
- if (is_dir($path . DS . $entry) && !in_array($entry, array('cache', 'watermark'))) {
22
  $this->listDirectories($path . DS . $entry);
23
  } elseif (!in_array($entry, array('cache', 'watermark')) && (strpos($entry, '.') != 0)) {
24
  $this->result[] = substr($path . DS . $entry, 21);
18
  if ($dir = opendir($path)) {
19
  while (($entry = readdir($dir)) !== false) {
20
  if (preg_match('/^\./', $entry) != 1) {
21
+ if (is_dir($path . DS . $entry) && !in_array($entry, array('cache', 'watermark', 'placeholder'))) {
22
  $this->listDirectories($path . DS . $entry);
23
  } elseif (!in_array($entry, array('cache', 'watermark')) && (strpos($entry, '.') != 0)) {
24
  $this->result[] = substr($path . DS . $entry, 21);
app/code/community/Defcon2/Imaclean/etc/config.xml CHANGED
@@ -9,7 +9,7 @@
9
  <config>
10
  <modules>
11
  <Defcon2_Imaclean>
12
- <version>1.0.0</version>
13
  </Defcon2_Imaclean>
14
  </modules>
15
  <global>
9
  <config>
10
  <modules>
11
  <Defcon2_Imaclean>
12
+ <version>1.2.0</version>
13
  </Defcon2_Imaclean>
14
  </modules>
15
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Imaclean</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  </summary>
11
  <description>This extension allows to list all the product images that already are not in use and to erase them.&#xD;
12
  </description>
13
- <notes>* SUPEE-6285 FIX</notes>
14
  <authors><author><name>Manuel Canepa</name><user>defcon2</user><email>manuelcanepa@gmail.com</email></author></authors>
15
- <date>2015-11-06</date>
16
- <time>13:29:10</time>
17
- <contents><target name="mageetc"><dir name="modules"><file name="Defcon2_Imaclean.xml" hash="157b3ce1c82a2b4b9a0a42875168cb56"/></dir></target><target name="magecommunity"><dir name="Defcon2"><dir name="Imaclean"><dir name="Block"><dir name="Adminhtml"><dir name="Defcon2imaclean"><file name="Grid.php" hash="af5b14246ee90f6d5c070f9eb3df423e"/></dir><dir name="Imaclean"><file name="Grid.php" hash="af5b14246ee90f6d5c070f9eb3df423e"/></dir><file name="Imaclean.php" hash="7e2f357b4b7976c82d14ad0d173adbf6"/><dir name="Renderer"><file name="Image.php" hash="d8d95b56e62d37ce2a60c19c04c9070d"/></dir></dir><file name="Imaclean.php" hash="229e40a71ac2213fb1fd262e78cf26c7"/></dir><dir name="Helper"><file name="Data.php" hash="dd309cde61b6565a2cb1893fb5feff83"/></dir><dir name="Model"><file name="Imaclean.php" hash="119d3950d04b4f31d3fc592daf100b50"/><dir name="Mysql4"><dir name="Imaclean"><file name="Collection.php" hash="8e06b24c560e0a65c97a2abb14594526"/></dir><file name="Imaclean.php" hash="f6577dccee30f77e583f79522d3bfeb4"/></dir><file name="Status.php" hash="21e06d3543492adc4caf7bf6b8b5ce97"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImacleanController.php" hash="e319ec09979e3712f16e9f97c0ebad39"/></dir><file name="IndexController.php" hash="5337b897bb58eae4917a44abdf78368a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c8ca5697521cd2ce25fa03c36ca12403"/><file name="config.xml" hash="60fd366178a9cbd239966717eb51e384"/></dir><dir name="sql"><dir name="defcon2imaclean_setup"><file name="mysql4-install-1.0.0.php" hash="fe72157a9b937cc6efd029a0043b2da4"/><file name="mysql4-upgrade-1.0.0-1.0.1" hash="853a6b31cd68d7653ab1acac99dbfbbc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="defcon2imaclean.xml" hash=""/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>4.0.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Imaclean</name>
4
+ <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  </summary>
11
  <description>This extension allows to list all the product images that already are not in use and to erase them.&#xD;
12
  </description>
13
+ <notes>* Exclude placeholder folder</notes>
14
  <authors><author><name>Manuel Canepa</name><user>defcon2</user><email>manuelcanepa@gmail.com</email></author></authors>
15
+ <date>2015-11-26</date>
16
+ <time>15:19:23</time>
17
+ <contents><target name="mageetc"><dir name="modules"><file name="Defcon2_Imaclean.xml" hash="157b3ce1c82a2b4b9a0a42875168cb56"/></dir></target><target name="magecommunity"><dir name="Defcon2"><dir name="Imaclean"><dir name="Block"><dir name="Adminhtml"><dir name="Defcon2imaclean"><file name="Grid.php" hash="af5b14246ee90f6d5c070f9eb3df423e"/></dir><dir name="Imaclean"><file name="Grid.php" hash="af5b14246ee90f6d5c070f9eb3df423e"/></dir><file name="Imaclean.php" hash="7e2f357b4b7976c82d14ad0d173adbf6"/><dir name="Renderer"><file name="Image.php" hash="d8d95b56e62d37ce2a60c19c04c9070d"/></dir></dir><file name="Imaclean.php" hash="229e40a71ac2213fb1fd262e78cf26c7"/></dir><dir name="Helper"><file name="Data.php" hash="7d7b3214ce6ee9ae110dca1531a16eec"/></dir><dir name="Model"><file name="Imaclean.php" hash="119d3950d04b4f31d3fc592daf100b50"/><dir name="Mysql4"><dir name="Imaclean"><file name="Collection.php" hash="8e06b24c560e0a65c97a2abb14594526"/></dir><file name="Imaclean.php" hash="f6577dccee30f77e583f79522d3bfeb4"/></dir><file name="Status.php" hash="21e06d3543492adc4caf7bf6b8b5ce97"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImacleanController.php" hash="e319ec09979e3712f16e9f97c0ebad39"/></dir><file name="IndexController.php" hash="5337b897bb58eae4917a44abdf78368a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c8ca5697521cd2ce25fa03c36ca12403"/><file name="config.xml" hash="d4d648f94d4013dfd2004ae8b711453c"/></dir><dir name="sql"><dir name="defcon2imaclean_setup"><file name="mysql4-install-1.0.0.php" hash="fe72157a9b937cc6efd029a0043b2da4"/><file name="mysql4-upgrade-1.0.0-1.0.1" hash="853a6b31cd68d7653ab1acac99dbfbbc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="defcon2imaclean.xml" hash=""/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>4.0.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>