Keep backward compatibility with non-official plugins

This commit is contained in:
Peter Knut
2024-10-22 12:37:50 +02:00
parent 7883e0bd99
commit 555e2e76b7
3 changed files with 12 additions and 12 deletions

View File

@@ -250,17 +250,17 @@ class AdminerPlugin extends Adminer {
return $this->_applyPlugin(__FUNCTION__, $args);
}
function selectColumnsPrint(array $select, array $columns) {
function selectColumnsPrint($select,$columns) {
$args = func_get_args();
return $this->_applyPlugin(__FUNCTION__, $args);
}
function selectSearchPrint(array $where, array $columns, array $indexes) {
function selectSearchPrint($where, $columns, $indexes) {
$args = func_get_args();
return $this->_applyPlugin(__FUNCTION__, $args);
}
function selectOrderPrint(array $order, array $columns, array $indexes) {
function selectOrderPrint($order, $columns, $indexes) {
$args = func_get_args();
return $this->_applyPlugin(__FUNCTION__, $args);
}
@@ -395,7 +395,7 @@ class AdminerPlugin extends Adminer {
return $this->_applyPlugin(__FUNCTION__, $args);
}
function tablesPrint(array $tables) {
function tablesPrint($tables) {
$args = func_get_args();
return $this->_applyPlugin(__FUNCTION__, $args);
}