public function disabled()
{
return $this->_disabled;
}
/** */ public function disabled() { global $prefs, $registry; $pushed = $registry->pushApp('ingo'); $disabled = array(); if ($prefs->isLocked('blacklist')) { $disabled[] = 'blacklistFrom'; } if ($prefs->isLocked('whitelist')) { $disabled[] = 'whitelistFrom'; } if ($prefs->isLocked('vacation')) { $disabled[] = 'setVacation'; $disabled[] = 'disableVacation'; } if ($pushed) { $registry->popApp(); } return array_merge(parent::disabled(), $disabled); }