X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=819085f7ff2f5c6f1342d4f36c3a9e851997b039;hb=8a5560ec8f1474b8f250abc7db61a0048f1a88e2;hp=a1343255bcb180aa5ebe1c6f098ea0ee497a5582;hpb=501e0b398f1004196836730c9e09179a42a23b95;p=friendica.git diff --git a/update.php b/update.php index a1343255bc..819085f7ff 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ 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; + } }