Corrects falsely blocked contacts because of some bug in the develop branch

This commit is contained in:
Michael 2018-05-10 10:41:32 +00:00
parent 8612e44d19
commit aafc314ccc
2 changed files with 7 additions and 1 deletions

View 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;
}