mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
Set "manually-approve" in the update
This commit is contained in:
parent
9a764516d0
commit
6c156e3bc6
1 changed files with 1 additions and 0 deletions
|
@ -1093,6 +1093,7 @@ function update_1451()
|
||||||
{
|
{
|
||||||
DBA::update('user', ['account-type' => User::ACCOUNT_TYPE_COMMUNITY], ['page-flags' => [User::PAGE_FLAGS_COMMUNITY, User::PAGE_FLAGS_PRVGROUP]]);
|
DBA::update('user', ['account-type' => User::ACCOUNT_TYPE_COMMUNITY], ['page-flags' => [User::PAGE_FLAGS_COMMUNITY, User::PAGE_FLAGS_PRVGROUP]]);
|
||||||
DBA::update('contact', ['contact-type' => Contact::TYPE_COMMUNITY], ["`forum` OR `prv`"]);
|
DBA::update('contact', ['contact-type' => Contact::TYPE_COMMUNITY], ["`forum` OR `prv`"]);
|
||||||
|
DBA::update('contact', ['manually-approve' => true], ['prv' => true]);
|
||||||
|
|
||||||
return Update::SUCCESS;
|
return Update::SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue