mirror of
https://github.com/vrana/adminer.git
synced 2026-07-01 01:18:32 +02:00
Move edit functions to Driver
This commit is contained in:
@@ -122,6 +122,8 @@ if (isset($_GET["elastic"])) {
|
||||
}
|
||||
|
||||
class Driver extends SqlDriver {
|
||||
var $editFunctions = array(array("json"));
|
||||
|
||||
function __construct($connection) {
|
||||
parent::__construct($connection);
|
||||
$this->types = array(
|
||||
@@ -569,7 +571,6 @@ if (isset($_GET["elastic"])) {
|
||||
'operators' => array("=", "must", "should", "must_not"),
|
||||
'functions' => array(),
|
||||
'grouping' => array(),
|
||||
'edit_functions' => array(array("json")),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user