aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-04 03:34:55 -0700
committerredmatrix <git@macgirvin.com>2016-06-04 03:34:55 -0700
commit9b87a249b92340b29dce3efb97c2f0cea97cce2a (patch)
treed5b449788d0f4a97fc4cb33f7c4638a68c4ce3b9
parenta4474b49cb805ca2039909a4d941268a02d5306a (diff)
downloadvolse-hubzilla-9b87a249b92340b29dce3efb97c2f0cea97cce2a.tar.gz
volse-hubzilla-9b87a249b92340b29dce3efb97c2f0cea97cce2a.tar.bz2
volse-hubzilla-9b87a249b92340b29dce3efb97c2f0cea97cce2a.zip
class functions not called with an object
-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 9b54a4081..e2e6146f8 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");