aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
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 /include/plugin.php
parent34c9493dfe22d57395fb76e8fb307029aeb935fc (diff)
downloadvolse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.tar.gz
volse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.tar.bz2
volse-hubzilla-17bd39fcd4b28e6475a8a349f136c788202eaff4.zip
rename friendica_smarty
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);