mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:55:18 +00:00
hardwire group widget = enabled
This commit is contained in:
parent
decf21c78b
commit
26e419e032
1 changed files with 2 additions and 6 deletions
|
@ -280,16 +280,12 @@ class Group {
|
|||
|
||||
$o = '';
|
||||
|
||||
if(! (local_channel() && feature_enabled(local_channel(),'groups'))) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$groups = array();
|
||||
$groups = [];
|
||||
|
||||
$r = q("SELECT * FROM groups WHERE deleted = 0 AND uid = %d ORDER BY gname ASC",
|
||||
intval($_SESSION['uid'])
|
||||
);
|
||||
$member_of = array();
|
||||
$member_of = [];
|
||||
if($cid) {
|
||||
$member_of = self::containing(local_channel(),$cid);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue