diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-16 00:29:24 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-16 00:29:24 +0300 |
commit | e4ab61aa4ab9c31025e711d63e28cd26d91afbbe (patch) | |
tree | 547c21018b9fdaf408069627c2e7c057f8d8a34f /src/controllers/PrivilegesController.php | |
parent | 35e88fe51a89bec3f988cba32a0de91855cff7c5 (diff) |
remove unused declarations
Diffstat (limited to 'src/controllers/PrivilegesController.php')
-rw-r--r-- | src/controllers/PrivilegesController.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/controllers/PrivilegesController.php b/src/controllers/PrivilegesController.php index b1751664..aca40706 100644 --- a/src/controllers/PrivilegesController.php +++ b/src/controllers/PrivilegesController.php @@ -21,7 +21,6 @@ class PrivilegesController extends BaseController { $lang = $this->lang; $action = $this->action; - $data = $this->misc->getDatabaseAccessor(); $this->printHeader($lang['strprivileges']); $this->printBody(); @@ -55,10 +54,9 @@ class PrivilegesController extends BaseController */ public function doDefault($msg = '') { - $lang = $this->lang; - $action = $this->action; - $data = $this->misc->getDatabaseAccessor(); - $database = $this->misc->getDatabase(); + $lang = $this->lang; + $action = $this->action; + $data = $this->misc->getDatabaseAccessor(); $this->printTrail($_REQUEST['subject']); |