Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-02-16 00:29:24 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-02-16 00:29:24 +0300
commite4ab61aa4ab9c31025e711d63e28cd26d91afbbe (patch)
tree547c21018b9fdaf408069627c2e7c057f8d8a34f /src/controllers/PrivilegesController.php
parent35e88fe51a89bec3f988cba32a0de91855cff7c5 (diff)
remove unused declarations
Diffstat (limited to 'src/controllers/PrivilegesController.php')
-rw-r--r--src/controllers/PrivilegesController.php8
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']);