diff options
author | friendica <info@friendica.com> | 2013-05-01 02:23:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-01 02:23:40 -0700 |
commit | d517b4fdf507172f87daae3f04e182b1aa61e64c (patch) | |
tree | 060906e017888f2a17b5c4d9c303a58729bbb8b3 /boot.php | |
parent | 72a770ae36eb75d86187800d28c2cd34806f185a (diff) | |
download | volse-hubzilla-d517b4fdf507172f87daae3f04e182b1aa61e64c.tar.gz volse-hubzilla-d517b4fdf507172f87daae3f04e182b1aa61e64c.tar.bz2 volse-hubzilla-d517b4fdf507172f87daae3f04e182b1aa61e64c.zip |
change plugin_install to plugin_load, etc.
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1118,7 +1118,7 @@ function check_config(&$a) { * $a->config['system']['addon'] contains a comma-separated list of names * of plugins/addons which are used on this system. * Go through the database list of already installed addons, and if we have - * an entry, but it isn't in the config list, call the uninstall procedure + * an entry, but it isn't in the config list, call the unload procedure * and mark it uninstalled in the database (for now we'll remove it). * Then go through the config list and if we have a plugin that isn't installed, * call the install procedure and add it to the database. @@ -1144,7 +1144,7 @@ function check_config(&$a) { if(count($installed)) { foreach($installed as $i) { if(! in_array($i['name'],$plugins_arr)) { - uninstall_plugin($i['name']); + unload_plugin($i['name']); } else { $installed_arr[] = $i['name']; @@ -1155,7 +1155,7 @@ function check_config(&$a) { if(count($plugins_arr)) { foreach($plugins_arr as $p) { if(! in_array($p,$installed_arr)) { - install_plugin($p); + load_plugin($p); } } } |