X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=14219bcdcb3b7280d8c18159a25ab0e4da3785b2;hb=89a31e43b250e3b95266077214edd34ab4f15c7e;hp=3cd0a45a7b05ca64ac3ca9b48d978f9413def41c;hpb=c77266de98723ffbfcb13167082c168a1f356770;p=friendica.git diff --git a/update.php b/update.php index 3cd0a45a7b..14219bcdcb 100644 --- a/update.php +++ b/update.php @@ -1326,3 +1326,10 @@ function update_1518() return Update::SUCCESS; } + +function update_1520(): int +{ + DBA::update('user', ['parent-uid' => null], ['parent-uid' => 0]); + + return Update::SUCCESS; +}