local_user(), 'gcid' => $_POST['ignore']]); notice(L10n::t('Contact suggestion successfully ignored.')); } DI::baseUrl()->redirect('suggest'); } function suggest_content(App $a) { $o = ''; if (! local_user()) { notice(L10n::t('Permission denied.') . EOL); return; } $_SESSION['return_path'] = DI::args()->getCommand(); DI::page()['aside'] .= Widget::findPeople(); DI::page()['aside'] .= Widget::follow(); $r = GContact::suggestionQuery(local_user()); if (! DBA::isResult($r)) { $o .= L10n::t('No suggestions available. If this is a new site, please try again in 24 hours.'); return $o; } if (!empty($_GET['ignore'])) { //