Remove system.no_auto_update personal config key and assume default value of true

- By popular request, the behavior with false was too perturbating
This commit is contained in:
Hypolite Petovan 2023-01-05 10:27:03 -05:00
parent dfcfae6bcc
commit 3b9bf4d70d
7 changed files with 40 additions and 44 deletions

View file

@ -30,7 +30,7 @@ use Friendica\Model\Contact;
function update_contact_content(App $a)
{
if (!empty(DI::args()->get(1)) && (!empty($_GET['force']) || !DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'no_auto_update'))) {
if (!empty(DI::args()->get(1)) && !empty($_GET['force'])) {
$contact = Contact::getById(DI::args()->get(1), ['id', 'deleted']);
if (DBA::isResult($contact) && empty($contact['deleted'])) {
DI::page()['aside'] = '';