mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Useless info messages removed
This commit is contained in:
parent
0b423b73ac
commit
3fc3ded750
39 changed files with 47 additions and 90 deletions
|
@ -90,9 +90,7 @@ class Advanced extends BaseModule
|
|||
Model\Contact::updateAvatar($photo, local_user(), $contact['id'], true);
|
||||
}
|
||||
|
||||
if ($r) {
|
||||
info(DI::l10n()->t('Contact settings applied.') . EOL);
|
||||
} else {
|
||||
if (!$r) {
|
||||
notice(DI::l10n()->t('Contact update failed.') . EOL);
|
||||
}
|
||||
|
||||
|
|
|
@ -110,9 +110,7 @@ class Poke extends BaseModule
|
|||
*/
|
||||
private static function postReturn(bool $success)
|
||||
{
|
||||
if ($success) {
|
||||
info(DI::l10n()->t('Poke successfully sent.'));
|
||||
} else {
|
||||
if (!$success) {
|
||||
notice(DI::l10n()->t('Error while sending poke, please retry.'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue