diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-04-17 15:53:46 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-04-17 15:53:46 +0300 |
commit | 4ca846d04861df11ca0711889858ab7a03f86c33 (patch) | |
tree | 789401c5332639a68e9967d52b1160220dc2c02d /src/controllers/SqleditController.php | |
parent | 176b4067c90b55b7ea4c2e2ad36a41abc057475e (diff) |
testing jstree
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r-- | src/controllers/SqleditController.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/controllers/SqleditController.php b/src/controllers/SqleditController.php index 7bb9068d..82fee456 100644 --- a/src/controllers/SqleditController.php +++ b/src/controllers/SqleditController.php @@ -6,8 +6,6 @@ namespace PHPPgAdmin\Controller; -use PHPPgAdmin\Decorators\Decorator; - /** * Base controller class. * @@ -30,10 +28,6 @@ class SqleditController extends BaseController $action = $this->action; - if ('tree' == $action) { - return $this->doTree(); - } - switch ($action) { case 'find': $title = $this->lang['strfind']; @@ -139,22 +133,6 @@ class SqleditController extends BaseController return $default_html; } - public function doTree() - { - $treedata = new \PHPPgAdmin\ArrayRecordSet([]); - $reqvars = []; - - $attrs = [ - 'text' => 'Servers', - 'icon' => 'Servers', - 'is_root' => 'true', - 'action' => Decorator::url('/src/views/servers'), - 'branch' => Decorator::url('/src/views/servers', $reqvars, ['action' => 'tree']), - ]; - - return $this->printTree($treedata, $attrs, 'server'); - } - /** * Private function to display server and list of databases. * |