Fix bug preventing disabling tracking feature
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
ee9c9a0300
commit
e7717ed186
@ -1626,6 +1626,11 @@ class Relation
|
||||
$createQueries = null;
|
||||
$foundOne = false;
|
||||
foreach ($tablesToFeatures as $table => $feature) {
|
||||
if (($GLOBALS['cfg']['Server'][$feature] ?? null) === false) {
|
||||
// The feature is disabled by the user in config
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check if the table already exists
|
||||
// use the possible replaced name first and fallback on the table name
|
||||
// if no replacement exists
|
||||
|
||||
Loading…
Reference in New Issue
Block a user