Module_List - Version 0.2.2

Version Notes

Checks for disabled local module configuration node

Download this release

Release Info

Developer Alan Storm
Extension Module_List
Version 0.2.2
Comparing to
See all releases


Code changes from version 0.2.1 to 0.2.2

app/code/community/Pulsestorm/Modulelist/Model/Report.php CHANGED
@@ -43,13 +43,15 @@ class Pulsestorm_Modulelist_Model_Report extends Varien_Object
43
  {
44
  $xml = simplexml_load_file($o->getPath() . '/etc/config.xml');
45
  $modules = $xml->modules;
46
- if(!$modules){ break; }
47
 
48
  $name = $modules->{$item->getName()};
49
- if(!$name){ break; }
50
 
51
  $version = $name->version;
52
- if(!$version) { break; }
 
 
53
 
54
  $version = (string) $version;
55
  $o->setModuleVersion($version);
43
  {
44
  $xml = simplexml_load_file($o->getPath() . '/etc/config.xml');
45
  $modules = $xml->modules;
46
+ if(!$modules){ continue; }
47
 
48
  $name = $modules->{$item->getName()};
49
+ if(!$name){ continue; }
50
 
51
  $version = $name->version;
52
+ if(!$version) {
53
+ $version = '?';
54
+ }
55
 
56
  $version = (string) $version;
57
  $o->setModuleVersion($version);
app/code/community/Pulsestorm/Modulelist/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Pulsestorm_Modulelist>
5
- <version>0.2.1</version>
6
  </Pulsestorm_Modulelist>
7
  </modules>
8
  <admin>
2
  <config>
3
  <modules>
4
  <Pulsestorm_Modulelist>
5
+ <version>0.2.2</version>
6
  </Pulsestorm_Modulelist>
7
  </modules>
8
  <admin>
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>Module_List</name><version>0.2.1</version><stability>stable</stability><license>MIT</license><channel>community</channel><extends></extends><summary>Reports on installed Magento code modules</summary><description>This extension adds a section to the Magento Admin console which lists all install code modules. Modules are distinct from Magento Connect packages. A Connect package may contain a module, but it not limited to a module.</description><notes>Checks for disabled local module configuration node</notes><authors><author><name>Alan Storm</name><user>alanstorm</user><email>astorm@alanstorm.com</email></author></authors><date>2012-10-01</date><time>13:28:58</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Pulsestorm"><dir name="Modulelist"><dir name="Block"><file name="Moduletable.php" hash="ad8a121eea4b95f42f765a26a28d9388"/><file name="Template.php" hash="c9389432d70d40b91b085fb7b4035b23"/><file name="Top.php" hash="2cc12b5d2855892c7cbba856e3d12b5f"/></dir><dir name="controllers"><dir name="Pulsestorm"><file name="CssController.php" hash="9ce43a730635f24b9c69ed25af250686"/><file name="ModulelistController.php" hash="e09c06ab0ccde213831c83c8c0418c0e"/></dir></dir><dir name="css"><file name="main.css" hash="8e6fe6c29be2e136aff27df825f61f01"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e3d62e186468e9d2028f0d858d7c0e97"/><file name="config.xml" hash="a63929cd82de5af54ccf3afbcba479b5"/></dir><dir name="Helper"><file name="Data.php" hash="05f7f53c12ec6b9298cb0190b3670ac5"/></dir><dir name="Model"><file name="Configuredmodule.php" hash="78a035893291b1238fe7955468ecabd3"/><file name="Inferedmodule.php" hash="7df8deb39c20cd422081728b6c98dc20"/><file name="Inferredconflict.php" hash="fb513e10f839ef4eb55bbafd457931c1"/><file name="Report.php" hash="1dc790bf94c75da9f67d1cbaced6d7d8"/><dir name="Report"><file name="Infered.php" hash="a6f8dab5369256512ae7386a9ed85541"/></dir></dir><dir name="templates"><file name="table.phtml" hash="2b552e0eb46c6d701538b1491486b1fb"/><file name="top.phtml" hash="cc6cda6fcc17504eb508adf8aa326095"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Pulsestorm_Modulelist.xml" hash="6892542d56fb8f5159d279f36b059f16"/></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Module_List</name><version>0.2.2</version><stability>stable</stability><license>MIT</license><channel>community</channel><extends></extends><summary>Reports on installed Magento code modules</summary><description>This extension adds a section to the Magento Admin console which lists all install code modules. Modules are distinct from Magento Connect packages. A Connect package may contain a module, but it not limited to a module.</description><notes>Checks for disabled local module configuration node</notes><authors><author><name>Alan Storm</name><user>alanstorm</user><email>astorm@alanstorm.com</email></author></authors><date>2012-10-18</date><time>11:49:46</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Pulsestorm"><dir name="Modulelist"><dir name="Block"><file name="Moduletable.php" hash="ad8a121eea4b95f42f765a26a28d9388"/><file name="Template.php" hash="c9389432d70d40b91b085fb7b4035b23"/><file name="Top.php" hash="2cc12b5d2855892c7cbba856e3d12b5f"/></dir><dir name="controllers"><dir name="Pulsestorm"><file name="CssController.php" hash="9ce43a730635f24b9c69ed25af250686"/><file name="ModulelistController.php" hash="e09c06ab0ccde213831c83c8c0418c0e"/></dir></dir><dir name="css"><file name="main.css" hash="8e6fe6c29be2e136aff27df825f61f01"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e3d62e186468e9d2028f0d858d7c0e97"/><file name="config.xml" hash="307a9b5e39e31f64c3eeb15c39502ece"/></dir><dir name="Helper"><file name="Data.php" hash="05f7f53c12ec6b9298cb0190b3670ac5"/></dir><dir name="Model"><file name="Configuredmodule.php" hash="78a035893291b1238fe7955468ecabd3"/><file name="Inferedmodule.php" hash="7df8deb39c20cd422081728b6c98dc20"/><file name="Inferredconflict.php" hash="fb513e10f839ef4eb55bbafd457931c1"/><file name="Report.php" hash="fff7b4f82bcb3cb578a0203ed884a5d7"/><dir name="Report"><file name="Infered.php" hash="a6f8dab5369256512ae7386a9ed85541"/></dir></dir><dir name="templates"><file name="table.phtml" hash="2b552e0eb46c6d701538b1491486b1fb"/><file name="top.phtml" hash="cc6cda6fcc17504eb508adf8aa326095"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Pulsestorm_Modulelist.xml" hash="6892542d56fb8f5159d279f36b059f16"/></dir></dir></dir></target></contents></package>