. * * See update_profile.php for documentation * */ use Friendica\App; use Friendica\Core\System; use Friendica\DI; use Friendica\Module\Contact; function update_contact_content(App $a) { if (!empty($_GET['force']) || !DI::pConfig()->get(local_user(), 'system', 'no_auto_update')) { $text = Contact::content([], true); } else { $text = ''; } System::htmlUpdateExit($text); }