Changeset 27781 for extensions/MyPiwiShop/maintain.inc.php
- Timestamp:
- Mar 16, 2014, 7:16:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/MyPiwiShop/maintain.inc.php
r27743 r27781 74 74 ;'); 75 75 76 $this->installed = true; 77 76 $this->installed = true; 78 77 } 79 78 80 81 /** 82 * plugin activation 83 */ 84 function activate($plugin_version, &$errors=array()) 79 function activate($plugin_version, &$errors=array()) 85 80 { 86 87 if (!$this->installed) 88 { 89 $this->install($plugin_version, $errors); 90 } 81 if (!$this->installed) { 82 $this->install($plugin_version, $errors); 83 } 91 84 } 92 85 … … 95 88 } 96 89 97 98 /**99 * plugin uninstallation100 */101 90 function uninstall() 102 91 { … … 109 98 pwg_query('DROP TABLE `'. $prefixeTable .'mps_opt_val`;'); 110 99 pwg_query('DROP TABLE `'. $prefixeTable .'mps_prod_opt`;'); 111 }100 } 112 101 } 113 102
Note: See TracChangeset
for help on using the changeset viewer.