CC-2654: Remove abilities that don't apply to SaaS

- not displaying manage folder option when saas is true
- not displaying record and rebroadcast section when saas is true
This commit is contained in:
James 2011-09-02 15:24:35 -04:00
parent ce2ce0a13a
commit 903c3474c7
7 changed files with 179 additions and 117 deletions

View file

@ -0,0 +1,12 @@
<?php
class Airtime_View_Helper_IsSaas extends Zend_View_Helper_Abstract{
public function isSaas(){
$plan = Application_Model_Preference::GetPlanLevel();
if($plan == 'disabled'){
return false;
}else{
return true;
}
}
}