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']);
|
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
|
||||||
|
|
Loading…
Reference in a new issue