aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-xinclude/plugin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index cf058ddeb..c5f57829d 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -5,7 +5,7 @@
* @brief Some functions to handle addons and themes.
*/
-require_once("include/friendica_smarty.php");
+require_once("include/smarty.php");
/**
* @brief unloads an addon.
@@ -13,6 +13,7 @@ require_once("include/friendica_smarty.php");
* @param string $plugin name of the addon
* @return void
*/
+
function unload_plugin($plugin){
logger("Addons: unloading " . $plugin, LOGGER_DEBUG);
@@ -29,6 +30,7 @@ function unload_plugin($plugin){
* @param string $plugin name of the addon
* @return bool
*/
+
function uninstall_plugin($plugin) {
unload_plugin($plugin);