1
0
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:
Jakub Vrana
2025-03-28 14:22:42 +01:00
parent c7140c2158
commit dc38a7ded3
5 changed files with 21 additions and 13 deletions

View File

@@ -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)) {