1
0
mirror of https://github.com/flarum/core.git synced 2025-07-21 16:51:34 +02:00

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
luceos
2021-05-31 14:08:49 +00:00
committed by StyleCI Bot
parent 8af52153e4
commit 8ced9eef45

View File

@@ -265,7 +265,9 @@ class Migrator
foreach (explode(';', $dump) as $statement) { foreach (explode(';', $dump) as $statement) {
$statement = trim($statement); $statement = trim($statement);
if (empty($statement) || substr($statement, 0, 2) === '/*') continue; if (empty($statement) || substr($statement, 0, 2) === '/*') {
continue;
}
$statement = str_replace( $statement = str_replace(
'db_prefix_', 'db_prefix_',