aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-27 22:23:47 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-27 22:23:47 +0100
commit2e4e56f7cc696b2c52014f0050294826caa74d7d (patch)
tree3c9d7a83fc13c878d134de2981e75a7278f06df7 /Zotlabs
parent7c600b03803bfddd2d98084ef5c1976e35b84f9e (diff)
downloadvolse-hubzilla-2e4e56f7cc696b2c52014f0050294826caa74d7d.tar.gz
volse-hubzilla-2e4e56f7cc696b2c52014f0050294826caa74d7d.tar.bz2
volse-hubzilla-2e4e56f7cc696b2c52014f0050294826caa74d7d.zip
if startpage is /hq redirect all notifications links to /hq and minor notifications and hq fixes
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Hq.php2
-rw-r--r--Zotlabs/Widget/Notifications.php3
2 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php
index a9c3bb8e2..c305fdb3b 100644
--- a/Zotlabs/Module/Hq.php
+++ b/Zotlabs/Module/Hq.php
@@ -29,6 +29,8 @@ class Hq extends \Zotlabs\Web\Controller {
);
}
+ killme();
+
}
function get($update = 0, $load = false) {
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index 5a0c1f3d5..322a7b60a 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -145,7 +145,8 @@ class Notifications {
'$module' => \App::$module,
'$notifications' => $notifications,
'$no_notifications' => t('Sorry, you have got no notifications at the moment'),
- '$loading' => t('Loading')
+ '$loading' => t('Loading'),
+ '$startpage' => get_pconfig(local_channel(), 'system', 'startpage')
));
return $o;