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/FunctionsController.php | |
parent | 35e88fe51a89bec3f988cba32a0de91855cff7c5 (diff) |
remove unused declarations
Diffstat (limited to 'src/controllers/FunctionsController.php')
-rw-r--r-- | src/controllers/FunctionsController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/controllers/FunctionsController.php b/src/controllers/FunctionsController.php index 6b722ba9..2d79f3c3 100644 --- a/src/controllers/FunctionsController.php +++ b/src/controllers/FunctionsController.php @@ -27,7 +27,6 @@ class FunctionsController extends BaseController if ('tree' == $action) { return $this->doTree(); } - $data = $this->misc->getDatabaseAccessor(); $this->printHeader($lang['strfunctions'], null, true, 'header_datatables.twig'); $this->printBody(); @@ -986,8 +985,8 @@ class FunctionsController extends BaseController $szArgReturns .= '<option value=""></option>'; $szArgReturns .= '<option value="[]">[]</option>'; $szArgReturns .= '</select>'; - if (!empty($conf['theme'])) { - $szImgPath = "images/themes/{$conf['theme']}"; + if (!empty($this->conf['theme'])) { + $szImgPath = "images/themes/{$this->conf['theme']}"; } else { $szImgPath = 'images/themes/default'; } |