From 17bd39fcd4b28e6475a8a349f136c788202eaff4 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 13 Jul 2014 23:00:03 -0700 Subject: [PATCH] rename friendica_smarty --- include/plugin.php | 4 +++- include/{friendica_smarty.php => smarty.php} | 0 include/text.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) rename include/{friendica_smarty.php => smarty.php} (100%) 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 similarity index 100% rename from include/friendica_smarty.php rename to 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