mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 15:16:44 +02:00
Plugins: Move operators to a method
This commit is contained in:
@@ -242,7 +242,7 @@ if (isset($_GET["mongo"])) {
|
||||
list(, $class, $val) = $match;
|
||||
$val = new $class($val);
|
||||
}
|
||||
if (!in_array($op, adminer()->operators)) {
|
||||
if (!in_array($op, adminer()->operators())) {
|
||||
continue;
|
||||
}
|
||||
if (preg_match('~^\(f\)(.+)~', $op, $match)) {
|
||||
|
Reference in New Issue
Block a user