#394 execute at updater cause of structure change

This commit is contained in:
Ulrich Block 2014-05-10 17:04:27 +02:00
parent c0d39cb16b
commit 523f636542

View File

@ -419,6 +419,19 @@ if (isset($include) and $include == true) {
$query->execute();
if (!isset($alreadyRepaired)) {
$alreadyRepaired = true;
$response->add('Adding tables if needed.');
include(EASYWIDIR . '/stuff/methods/tables_add.php');
$response->add('Repairing tables if needed.');
include(EASYWIDIR . '/stuff/methods/tables_repair.php');
}
} else {
echo "Error: this file needs to be included by the updater!<br />";
}