mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Fix the erratic page update behaviour
This commit is contained in:
parent
aa6eb7fcf1
commit
e038890bb7
9 changed files with 107 additions and 49 deletions
|
@ -284,7 +284,7 @@ class DBStructure
|
|||
echo $sql;
|
||||
}
|
||||
if ($action) {
|
||||
$r = DBA::e(str_replace('\\', '\\\\', $sql));
|
||||
$r = DBA::e($sql);
|
||||
if (!DBA::isResult($r)) {
|
||||
$errors .= self::printUpdateError($name);
|
||||
}
|
||||
|
@ -493,7 +493,7 @@ class DBStructure
|
|||
DI::config()->set('system', 'maintenance_reason', DI::l10n()->t('%s: updating %s table.', DateTimeFormat::utcNow() . ' ' . date('e'), $name));
|
||||
}
|
||||
|
||||
$r = DBA::e(str_replace('\\', '\\\\', $sql3));
|
||||
$r = DBA::e($sql3);
|
||||
if (!DBA::isResult($r)) {
|
||||
$errors .= self::printUpdateError($sql3);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue