X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=819085f7ff2f5c6f1342d4f36c3a9e851997b039;hb=5a8f2021584ed86489b056037ca1ed673f26270f;hp=2b5335869e15e81ea9da878aa1c0bca2684bb9e4;hpb=befc2af5043a3afde251721c0d27df695db1bb7e;p=friendica.git diff --git a/update.php b/update.php index 2b5335869e..819085f7ff 100644 --- a/update.php +++ b/update.php @@ -883,6 +883,8 @@ function update_1404() continue 2; } DBA::update('workerqueue', ['parameter' => json_encode($parameters)], ['id' => $task['id']]); + + return Update::SUCCESS; } } @@ -900,4 +902,13 @@ function update_1407() if (!DBA::e("UPDATE `post-thread-user` SET `causer-id` = NULL WHERE `causer-id` = 0")) { return Update::FAILED; } + + return Update::SUCCESS; +} + +function update_1413() +{ + if (!DBA::e("UPDATE `post-user` SET `post-reason` = `post-type` WHERE `post-type` >= 64 and `post-type` <= 75")) { + return Update::FAILED; + } }