public checkOtherAdmins ( ) : boolean | ||
return | boolean |
public function checkOtherAdmins()
{
if ($this->find('first', array('conditions' => array('UserGroup.id <>' => 1)))) {
return true;
} else {
return false;
}
}