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.
This commit is contained in:
Mario Wenzel 2019-05-14 10:49:52 +02:00 committed by Jakub Vrána
parent deea21dd2d
commit 02f5cbdc4d

View file

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