Cleanup and comments for the timezone/language popup

This commit is contained in:
Albert Santoni 2015-08-05 14:49:43 -04:00
parent 2aaba99b9a
commit eef61a65fc
6 changed files with 34 additions and 86 deletions

View file

@ -18,6 +18,11 @@ class CcSubjs extends BaseCcSubjs {
return $this->type === UTYPE_SUPERADMIN || $this->type === UTYPE_ADMIN || $this->type === UTYPE_PROGRAM_MANAGER;
}
public function isSuperAdmin()
{
return $this->type === UTYPE_SUPERADMIN;
}
public function isHostOfShow($showId)
{
return CcShowHostsQuery::create()