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:
parent
ce2ce0a13a
commit
903c3474c7
7 changed files with 179 additions and 117 deletions
12
airtime_mvc/application/views/helpers/IsSaas.php
Normal file
12
airtime_mvc/application/views/helpers/IsSaas.php
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue