1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 23:27:17 +02:00

Plugins: Use namespace for driver functions

This commit is contained in:
Jakub Vrana
2025-03-05 15:42:48 +01:00
parent 137ac2396b
commit 0bf8861dd1
6 changed files with 8 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ class AdminerSlugify {
if ($slugify === null) {
$slugify = array();
$prev = null;
foreach (fields($table) as $name => $val) {
foreach (Adminer\fields($table) as $name => $val) {
if ($prev && preg_match('~(^|_)slug(_|$)~', $name)) {
$slugify[$prev] = $name;
}