remove global DB prepare

This commit is contained in:
Paul Spenke
2023-06-30 07:26:28 +08:00
parent fcde537871
commit 50743cb6fa
-4
View File
@@ -176,10 +176,6 @@ class Plugi
{
global $phpb_db;
$phpb_db = new DB($config);
$tables = include __DIR__.'/../config/tables.php';
foreach ($tables as $table => $sql) {
$phpb_db->prepare($table, $sql);
}
}
/**