mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
remove code in function follow_post() that was never executed.
This commit is contained in:
parent
1a87fcb5b3
commit
ea770ed778
1 changed files with 1 additions and 5 deletions
|
@ -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