Don't set widgets if you're not a local user.

This commit is contained in:
Thomas Willingham
2013-11-02 21:11:43 +00:00
parent b95d4c1186
commit ced0a9ab74
3 changed files with 8 additions and 0 deletions

View File

@@ -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