aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-11-02 21:11:43 +0000
committerThomas Willingham <founder@kakste.com>2013-11-02 21:11:43 +0000
commitced0a9ab74f1c7563c0618c338c85a358e21ff5d (patch)
tree4f96a0b61bdb8ad1535932dcde2c83227b5f3e6f /mod/settings.php
parentb95d4c118693df21eabea3e75b258debd334367a (diff)
downloadvolse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.tar.gz
volse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.tar.bz2
volse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.zip
Don't set widgets if you're not a local user.
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 5f1106be5..ab3ac4f12 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -22,6 +22,8 @@ function settings_init(&$a) {
function settings_aside(&$a) {
+if (! local_user())
+ return;
// default is channel settings in the absence of other arguments