Fix to make it easier to test features
This commit is contained in:
parent
1647effb20
commit
c144a1c604
1 changed files with 4 additions and 0 deletions
|
|
@ -796,6 +796,10 @@ class Account extends Eloquent
|
|||
|
||||
public function hasFeature($feature)
|
||||
{
|
||||
if (Utils::isNinjaDev()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$planDetails = $this->getPlanDetails();
|
||||
$selfHost = !Utils::isNinjaProd();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue