]> git.mxchange.org Git - friendica.git/commitdiff
Set "manually-approve" in the update
authorMichael <heluecht@pirati.ca>
Wed, 9 Feb 2022 07:02:06 +0000 (07:02 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 9 Feb 2022 07:02:06 +0000 (07:02 +0000)
update.php

index 6e9c294c1fe5618fab763637fb4e5d3ccdee69bf..016fe8a2ec9f658cd16fb7060ab994fc810d1322 100644 (file)
@@ -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('contact', ['contact-type' => Contact::TYPE_COMMUNITY], ["`forum` OR `prv`"]);
+       DBA::update('contact', ['manually-approve' => true], ['prv' => true]);
 
        return Update::SUCCESS;
 }