From d6a9a9927c23e8b4307dc2164407481f8c542682 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 15 Jul 2022 17:50:02 +0000 Subject: HQ dashboard - initial checkin --- Zotlabs/Module/Hq.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Zotlabs/Module/Hq.php') diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index 5001bbe62..efbfcf084 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -49,16 +49,16 @@ class Hq extends \Zotlabs\Web\Controller { $sql_extra = ''; if(! $item_hash) { - $r = q("SELECT mid FROM item - WHERE uid = %d $item_normal - AND mid = parent_mid - AND item_private IN (0, 1) - ORDER BY created DESC LIMIT 1", - intval(local_channel()) - ); - if($r[0]['mid']) { - $item_hash = $r[0]['mid']; - } + //$r = q("SELECT mid FROM item + //WHERE uid = %d $item_normal + //AND mid = parent_mid + //AND item_private IN (0, 1) + //ORDER BY created DESC LIMIT 1", + //intval(local_channel()) + //); + //if($r[0]['mid']) { + //$item_hash = $r[0]['mid']; + //} } if($item_hash) { -- cgit v1.2.3