diff options
| -rwxr-xr-x | broadcast.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/broadcast.php b/broadcast.php index cb01a88..1c9d3e5 100755 --- a/broadcast.php +++ b/broadcast.php @@ -35,14 +35,6 @@ if( isset( $_REQUEST['send'] ) ) { } } -if( $gBitUser->isAdmin() ) { - $pListHash = [ 'sort_mode' => 'group_id_asc' ]; - $groups = $gBitUser->getAllGroups( $pListHash ); -} else { - $gBitUser->loadGroups(); - $groups = &$gBitUser->mGroups; -} -$gBitSmarty->assign( 'groups', $groups ); $gBitSmarty->assign( 'feedback', $feedback ); $gBitSystem->display( 'bitpackage:messages/broadcast.tpl', NULL, [ 'display_mode' => 'display' ]); |
