aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-05 20:04:12 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-05 20:04:12 +0200
commitcfbd2fc85c6e428f87c5e8d529c98e3e89202f2a (patch)
tree603e88df90c10ba5cc87d5bea90cb530459b70d0 /Zotlabs/Module/Admin.php
parent8d6c2b5d4a799d87df1cd9f6f258890045ce6c62 (diff)
parentdd6718c2cdf2cadaf7478b848eb892dcda1dc7e9 (diff)
downloadvolse-hubzilla-cfbd2fc85c6e428f87c5e8d529c98e3e89202f2a.tar.gz
volse-hubzilla-cfbd2fc85c6e428f87c5e8d529c98e3e89202f2a.tar.bz2
volse-hubzilla-cfbd2fc85c6e428f87c5e8d529c98e3e89202f2a.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'Zotlabs/Module/Admin.php')
-rw-r--r--Zotlabs/Module/Admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Admin.php b/Zotlabs/Module/Admin.php
index 4cabd78ca..b2c6baf1d 100644
--- a/Zotlabs/Module/Admin.php
+++ b/Zotlabs/Module/Admin.php
@@ -1547,8 +1547,8 @@ class Admin extends \Zotlabs\Web\Controller {
// Toggle theme status
- toggle_theme($themes, $theme, $result);
- $s = rebuild_theme_table($themes);
+ $this->toggle_theme($themes, $theme, $result);
+ $s = $this->rebuild_theme_table($themes);
if($result)
info( sprintf('Theme %s enabled.', $theme));
else
@@ -1561,7 +1561,7 @@ class Admin extends \Zotlabs\Web\Controller {
// display theme details
require_once('library/markdown.php');
- if (theme_status($themes,$theme)) {
+ if ($this->theme_status($themes,$theme)) {
$status="on"; $action= t("Disable");
} else {
$status="off"; $action= t("Enable");