From: Mario Wenzel Date: Tue, 14 May 2019 08:49:52 +0000 (+0200) Subject: Allow bruteForceKey to be overwritten (#342) X-Git-Tag: v4.7.2~16 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=02f5cbdc4da8b1245202bf94146e200a4f6628c3;p=adminer.git Allow bruteForceKey to be overwritten (#342) As per Documentation (https://www.adminer.org/en/extension/#api) bruteForceKey can be overwritten by plugins. This change actually allows for that to happen. --- diff --git a/plugins/plugin.php b/plugins/plugin.php index 7e3c8dca..a2f6b780 100644 --- a/plugins/plugin.php +++ b/plugins/plugin.php @@ -110,6 +110,11 @@ class AdminerPlugin extends Adminer { return $this->_applyPlugin(__FUNCTION__, $args); } + function bruteForceKey() { + $args = func_get_args(); + return $this->_applyPlugin(__FUNCTION__, $args); + } + function serverName($server) { $args = func_get_args(); return $this->_applyPlugin(__FUNCTION__, $args);