From a42ff1e6d40496cc93481312b47548200e8af380 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 3 Jun 2018 13:27:06 +0200 Subject: missing $perm_sql --- include/text.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index ca5a3834f..4a84c09f8 100644 --- a/include/text.php +++ b/include/text.php @@ -3340,8 +3340,6 @@ function get_forum_channels($uid) { if(! $uid) return; - $perms_sql = item_permissions_sql($uid) . item_normal(); - $xf = false; $x1 = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = 'send_stream' and v = '0'", -- cgit v1.2.3