Changeset 8420 for extensions/FacebookPlug/Plugin/maintain.inc.php
- Timestamp:
- Jan 1, 2011, 11:16:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/FacebookPlug/Plugin/maintain.inc.php
r8241 r8420 26 26 function plugin_install() 27 27 { 28 // Update configuration 28 29 $query = ' 29 30 replace into '.CONFIG_TABLE.' … … 40 41 } 41 42 43 function plugin_activate() 44 { 45 // Inactivate plugins 46 $plugins = array('Facebook_Integration'); 47 $query = ' 48 update '.PLUGINS_TABLE.' 49 set STATE=\'inactive\' 50 where ID in (\'' . implode('\',\'', $plugins) . '\') 51 ;'; 52 pwg_query($query); 53 54 } 55 42 56 function plugin_uninstall() 43 57 { 58 // Delete configuration 44 59 $query = ' 45 60 delete from '.CONFIG_TABLE.'
Note: See TracChangeset
for help on using the changeset viewer.