]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Revert using Config class in dba
[friendica.git] / update.php
index e85641007dad61f5d1cb29bfd47fe56ab7d28ab0..c39212152f84cfeb5bfc8e5c809dd3f8311171bb 100644 (file)
@@ -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;
+}