aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-04 03:32:03 -0700
committerredmatrix <git@macgirvin.com>2016-06-04 03:32:03 -0700
commitb84f7cd37fdad61e04878580645cab8c53c666f4 (patch)
tree5f09ded29d5e3080145abd6dcdc80b7c3cb93164
parent20a79c7acf1850f431f4fd52972ea0b6acf8ce0c (diff)
downloadvolse-hubzilla-b84f7cd37fdad61e04878580645cab8c53c666f4.tar.gz
volse-hubzilla-b84f7cd37fdad61e04878580645cab8c53c666f4.tar.bz2
volse-hubzilla-b84f7cd37fdad61e04878580645cab8c53c666f4.zip
class functions called incorrectly
-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");