Changeset 9002 for extensions/AMenuManager/amm_root.class.inc.php
- Timestamp:
- Jan 31, 2011, 10:37:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_root.class.inc.php
r8989 r9002 647 647 static public function checkPluginRelease() 648 648 { 649 global $template; 650 651 $config=Array(); 652 GPCCore::loadConfig('amm', $config); 653 654 if($config['installed']!=AMM_VERSION2) 649 global $template, $prefixeTable, $conf; 650 651 652 if($conf['amm_config']['installed']!=AMM_VERSION2) 655 653 { 656 654 /* the plugin was updated without being deactivated … … 661 659 $amm->deactivate(); 662 660 $amm->activate(); 663 $template->delete_compiled_templates();661 if(is_object($template)) $template->delete_compiled_templates(); 664 662 } 665 663 }
Note: See TracChangeset
for help on using the changeset viewer.