X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=c39212152f84cfeb5bfc8e5c809dd3f8311171bb;hb=138355838f10397d94e83b474642d2369097d74c;hp=e85641007dad61f5d1cb29bfd47fe56ab7d28ab0;hpb=df96d81a0ef22e7a4a6844317c83f53da52e58e0;p=friendica.git diff --git a/update.php b/update.php index e85641007d..c39212152f 100644 --- a/update.php +++ b/update.php @@ -227,3 +227,9 @@ function update_1260() { Config::set('system', 'maintenance', 0); return UPDATE_SUCCESS; } + +function update_1261() { + // This fixes the results of an issue in the develop branch of 2018-05. + dba::update('contact', ['blocked' => false, 'pending' => false], ['uid' => 0, 'blocked' => true, 'pending' => true]); + return UPDATE_SUCCESS; +}