remove code in function follow_post() that was never executed.

This commit is contained in:
rabuzarus 2018-02-12 20:24:33 +01:00
parent 1a87fcb5b3
commit ea770ed778

View file

@ -41,11 +41,7 @@ function follow_post(App $a) {
goaway(System::baseUrl().'/contacts/'.$result['cid']); goaway(System::baseUrl().'/contacts/'.$result['cid']);
} }
info(L10n::t('Contact added').EOL); info(L10n::t('The contact could not be added.').EOL);
if (strstr($return_url, 'contacts')) {
goaway(System::baseUrl().'/contacts/'.$contact_id);
}
goaway($return_url); goaway($return_url);
// NOTREACHED // NOTREACHED