https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b3eff
)
Check if table exists
author
Philipp
<admin@philipp.info>
Sun, 1 Jan 2023 21:09:40 +0000
(22:09 +0100)
committer
Philipp
<admin@philipp.info>
Tue, 3 Jan 2023 13:22:05 +0000
(14:22 +0100)
update.php
patch
|
blob
|
history
diff --git
a/update.php
b/update.php
index
b9edbab
..
ad33dde
100644
(file)
--- a/
update.php
+++ b/
update.php
@@
-1148,6
+1148,10
@@
function update_1502()
function update_1505()
{
+ if (!DBStructure::existsTable('config')) {
+ return Update::SUCCESS;
+ }
+
$conditions = [
"((`cat` = ?) AND ((`k` LIKE ?) OR (`k` = ?) OR (`k` LIKE ?) OR (`k` = ?))) OR " .
"((`cat` != ?) AND (`k` LIKE ?)) OR " .