aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/plugin.php4
-rwxr-xr-xinclude/smarty.php (renamed from include/friendica_smarty.php)0
-rwxr-xr-xinclude/text.php2
3 files changed, 4 insertions, 2 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);
diff --git a/include/friendica_smarty.php b/include/smarty.php
index c2fcc4097..c2fcc4097 100755
--- a/include/friendica_smarty.php
+++ b/include/smarty.php
diff --git a/include/text.php b/include/text.php
index 61c731167..85c27265f 100755
--- a/include/text.php
+++ b/include/text.php
@@ -2,7 +2,7 @@
require_once("include/template_processor.php");
-require_once("include/friendica_smarty.php");
+require_once("include/smarty.php");
/**
* This is our template processor