This is a little different.  

`getGeneralGroups` here would be more useful, and in the docblocks explain that it gets anything that isn't an admin  

--  
Phil Sturgeon


On Wednesday, February 13, 2013 at 5:11 PM, Osvaldo Brignoni wrote:

> In system/cms/modules/pages/controllers/admin.php:
> > > - $groups = Group_m::all(); > - $group_options = array(); > - foreach ($groups as $group) { > - if ($group->name !== 'admin') { > - $group_options[$group->id] = $group->name; > - } > - } > - $this->template->group_options = $group_options; > + $this->template->group_options = Group::where('name', '!=', 'admin')->lists('name', 'id');  
> Should I name this function findManyNotInName() ?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/pyrocms/pyrocms/pull/2404/files#r3004661).  
>  
>  
>