Changeset 8970 for extensions/AMenuManager/amm_root.class.inc.php
- Timestamp:
- Jan 29, 2011, 11:56:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_root.class.inc.php
r8962 r8970 644 644 645 645 646 static public function checkPluginRelease() 647 { 648 global $template; 649 650 $config=Array(); 651 GPCCore::loadConfig('amm', $config); 652 653 if($config['installed']!=AMM_VERSION2) 654 { 655 /* the plugin was updated without being deactivated 656 * deactivate + activate the plugin to process the database upgrade 657 */ 658 include(AMM_PATH."amm_install.class.inc.php"); 659 $amm=new AMM_Install($prefixeTable, dirname(__FILE__)); 660 $amm->deactivate(); 661 $amm->activate(); 662 $template->delete_compiled_templates(); 663 } 664 } 646 665 647 666
Note: See TracChangeset
for help on using the changeset viewer.