aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-13 23:00:03 -0700
committerfriendica <info@friendica.com>2014-07-13 23:00:03 -0700
commit17bd39fcd4b28e6475a8a349f136c788202eaff4 (patch)
tree29ea47e142c48ab9f93ce3ed941655892d6be8e2
parent34c9493dfe22d57395fb76e8fb307029aeb935fc (diff)
downloadvolse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.tar.gz
volse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.tar.bz2
volse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.zip
rename friendica_smarty
-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