aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mood.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-13 20:53:33 -0800
committerfriendica <info@friendica.com>2012-11-13 20:53:33 -0800
commit6ac5e048b3dc5206331186bab571e02f75c3454c (patch)
tree571e38a3849375e2d2f7c27bd3f3754c95648230 /mod/mood.php
parentaa88165383b14c35114549334567f362e9c83e54 (diff)
downloadvolse-hubzilla-6ac5e048b3dc5206331186bab571e02f75c3454c.tar.gz
volse-hubzilla-6ac5e048b3dc5206331186bab571e02f75c3454c.tar.bz2
volse-hubzilla-6ac5e048b3dc5206331186bab571e02f75c3454c.zip
cleanup
Diffstat (limited to 'mod/mood.php')
-rwxr-xr-xmod/mood.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/mood.php b/mod/mood.php
index ddd721823..98064beab 100755
--- a/mod/mood.php
+++ b/mod/mood.php
@@ -96,6 +96,10 @@ function mood_init(&$a) {
}
call_hooks('post_local_end', $arr);
+
+ if($_SESSION['return_url'])
+ goaway(z_root() . '/' . $_SESSION['return_url']);
+
return;
}