Minor changes to make phpstorm happy.

This commit is contained in:
Buster Neece 2014-06-05 00:21:18 -05:00
parent 8119950d63
commit 16c2c65b66
1 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,10 @@
<?php
namespace DF\Controller;
use \DF\Url;
use \DF\Flash;
use DF\Exception\NotLoggedIn;
use DF\Exception\PermissionDenied;
use DF\Url;
use DF\Flash;
class Action extends \Zend_Controller_Action
{
@ -11,6 +13,8 @@ class Action extends \Zend_Controller_Action
public $auth;
public $acl;
public $test_mode;
public $em;
public $module_name;
public function init()
{
@ -41,9 +45,9 @@ class Action extends \Zend_Controller_Action
if (!$isAllowed)
{
if (!\DF\Auth::isLoggedIn())
throw new \DF\Exception\NotLoggedIn();
throw new NotLoggedIn;
else
throw new \DF\Exception\PermissionDenied();
throw new PermissionDenied;
}
$this->postInit();