Super Admin edit page points to billing now
* Also prevent super admin from being deleted
This commit is contained in:
parent
29e9182fcd
commit
faa12c8065
6 changed files with 32 additions and 9 deletions
|
@ -49,7 +49,12 @@ class Application_Model_User
|
|||
{
|
||||
return $this->isUserType(UTYPE_ADMIN);
|
||||
}
|
||||
|
||||
|
||||
public function isSuperAdmin()
|
||||
{
|
||||
return $this->isUserType(UTYPE_SUPERADMIN);
|
||||
}
|
||||
|
||||
public function canSchedule($p_showId)
|
||||
{
|
||||
$type = $this->getType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue