Useless info messages removed
This commit is contained in:
@@ -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.'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user