remove code in function follow_post() that was never executed.
This commit is contained in:
parent
1a87fcb5b3
commit
ea770ed778
|
@ -41,11 +41,7 @@ function follow_post(App $a) {
|
|||
goaway(System::baseUrl().'/contacts/'.$result['cid']);
|
||||
}
|
||||
|
||||
info(L10n::t('Contact added').EOL);
|
||||
|
||||
if (strstr($return_url, 'contacts')) {
|
||||
goaway(System::baseUrl().'/contacts/'.$contact_id);
|
||||
}
|
||||
info(L10n::t('The contact could not be added.').EOL);
|
||||
|
||||
goaway($return_url);
|
||||
// NOTREACHED
|
||||
|
|
Loading…
Reference in a new issue