define('FRIENDICA_CODENAME', 'The Tazmans Flax-lily');
define('FRIENDICA_VERSION', '2018.05-rc');
define('DFRN_PROTOCOL_VERSION', '2.23');
-define('DB_UPDATE_VERSION', 1260);
+define('DB_UPDATE_VERSION', 1261);
define('NEW_UPDATE_ROUTINE_VERSION', 1170);
/**
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;
+}