diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-28 12:28:49 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-28 12:28:49 +0100 |
commit | 8073be87da589a1cb24a186a04ea7b7dd21ff055 (patch) | |
tree | 9630d62f8b9a352830ba400c421bc2d137995b62 /Zotlabs/Module/Hq.php | |
parent | 8d3bf59b7b350f10f943ef7a0de5a4d285d90c33 (diff) | |
download | volse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.tar.gz volse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.tar.bz2 volse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.zip |
set profile_uid in mod hq
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r-- | Zotlabs/Module/Hq.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index bebd968f4..6bc65e44e 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -10,6 +10,13 @@ require_once('include/items.php'); class Hq extends \Zotlabs\Web\Controller { + function init() { + if(! local_channel()) + return; + + \App::$profile_uid = local_channel(); + } + function post() { if(!local_channel()) |