diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 17:42:48 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 17:42:48 +0300 |
commit | e455dee82358348b211eb2ac9a38f4c20b132818 (patch) | |
tree | 1c214b28f37e1666b423a6023f7762e65ffdccbb /src/controllers/LanguagesController.php | |
parent | 442876ec123baf1c1b1f35daf52ecd0f4db12bc7 (diff) |
fixing coding issues
Diffstat (limited to 'src/controllers/LanguagesController.php')
-rw-r--r-- | src/controllers/LanguagesController.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/controllers/LanguagesController.php b/src/controllers/LanguagesController.php index db7740c4..6c97163f 100644 --- a/src/controllers/LanguagesController.php +++ b/src/controllers/LanguagesController.php @@ -9,12 +9,12 @@ use \PHPPgAdmin\Decorators\Decorator; */ class LanguagesController extends BaseController { - public $_name = 'LanguagesController'; + public $controller_name = 'LanguagesController'; public function render() { - $conf = $this->conf; - $misc = $this->misc; + $conf = $this->conf; + $lang = $this->lang; $action = $this->action; if ($action == 'tree') { @@ -39,9 +39,9 @@ class LanguagesController extends BaseController public function doDefault($msg = '') { $conf = $this->conf; - $misc = $this->misc; + $lang = $this->lang; - $data = $misc->getDatabaseAccessor(); + $data = $this->misc->getDatabaseAccessor(); $this->printTrail('database'); $this->printTabs('database', 'languages'); @@ -76,9 +76,9 @@ class LanguagesController extends BaseController public function doTree() { $conf = $this->conf; - $misc = $this->misc; + $lang = $this->lang; - $data = $misc->getDatabaseAccessor(); + $data = $this->misc->getDatabaseAccessor(); $languages = $data->getLanguages(); |