diff options
author | friendica <info@friendica.com> | 2015-01-28 20:56:04 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-28 20:56:04 -0800 |
commit | a4960360669daa0a0c842427185ce1ada3b4ab97 (patch) | |
tree | 53feb1009266a77ee5338cc49919e45cca4b5ca6 /mod/mood.php | |
parent | 54fd8b21db2d8f3841cf590f88611a1d4f44ce48 (diff) | |
download | volse-hubzilla-a4960360669daa0a0c842427185ce1ada3b4ab97.tar.gz volse-hubzilla-a4960360669daa0a0c842427185ce1ada3b4ab97.tar.bz2 volse-hubzilla-a4960360669daa0a0c842427185ce1ada3b4ab97.zip |
local_user => local_channel
Diffstat (limited to 'mod/mood.php')
-rwxr-xr-x | mod/mood.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mood.php b/mod/mood.php index e6f4760e0..4fe1ceb59 100755 --- a/mod/mood.php +++ b/mod/mood.php @@ -7,10 +7,10 @@ require_once('include/items.php'); function mood_init(&$a) { - if(! local_user()) + if(! local_channel()) return; - $uid = local_user(); + $uid = local_channel(); $channel = $a->get_channel(); $verb = notags(trim($_GET['verb'])); @@ -108,7 +108,7 @@ function mood_init(&$a) { function mood_content(&$a) { - if(! local_user()) { + if(! local_channel()) { notice( t('Permission denied.') . EOL); return; } |