mirror of
https://github.com/friendica/friendica
synced 2025-04-19 12:30:12 +00:00
Useless info messages removed
This commit is contained in:
parent
0b423b73ac
commit
3fc3ded750
39 changed files with 47 additions and 90 deletions
|
@ -50,7 +50,7 @@ class Index extends BaseAdmin
|
|||
} elseif (Addon::install($addon)) {
|
||||
info(DI::l10n()->t('Addon %s enabled.', $addon));
|
||||
} else {
|
||||
info(DI::l10n()->t('Addon %s failed to install.', $addon));
|
||||
notice(DI::l10n()->t('Addon %s failed to install.', $addon));
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -62,7 +62,6 @@ class Server extends BaseAdmin
|
|||
}
|
||||
}
|
||||
DI::config()->set('system', 'blocklist', $blocklist);
|
||||
info(DI::l10n()->t('Site blocklist updated.') . EOL);
|
||||
}
|
||||
|
||||
DI::baseUrl()->redirect('admin/blocklist/server');
|
||||
|
|
|
@ -51,7 +51,6 @@ class Settings extends BaseAdmin
|
|||
DI::config()->set('system', 'loglevel', $loglevel);
|
||||
}
|
||||
|
||||
info(DI::l10n()->t("Log settings updated."));
|
||||
DI::baseUrl()->redirect('admin/logs');
|
||||
}
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ class Site extends BaseAdmin
|
|||
DI::baseUrl()->redirect('admin/site' . $active_panel);
|
||||
}
|
||||
} else {
|
||||
info(DI::l10n()->t('Invalid storage backend setting value.'));
|
||||
notice(DI::l10n()->t('Invalid storage backend setting value.'));
|
||||
}
|
||||
|
||||
// Has the directory url changed? If yes, then resubmit the existing profiles there
|
||||
|
@ -433,8 +433,6 @@ class Site extends BaseAdmin
|
|||
|
||||
DI::config()->set('system', 'rino_encrypt' , $rino);
|
||||
|
||||
info(DI::l10n()->t('Site settings updated.') . EOL);
|
||||
|
||||
DI::baseUrl()->redirect('admin/site' . $active_panel);
|
||||
}
|
||||
|
||||
|
|
|
@ -48,8 +48,6 @@ class Details extends BaseAdmin
|
|||
}
|
||||
}
|
||||
|
||||
info(DI::l10n()->t('Theme settings updated.'));
|
||||
|
||||
if (DI::mode()->isAjax()) {
|
||||
return;
|
||||
}
|
||||
|
@ -91,7 +89,7 @@ class Details extends BaseAdmin
|
|||
} elseif (Theme::install($theme)) {
|
||||
info(DI::l10n()->t('Theme %s successfully enabled.', $theme));
|
||||
} else {
|
||||
info(DI::l10n()->t('Theme %s failed to install.', $theme));
|
||||
notice(DI::l10n()->t('Theme %s failed to install.', $theme));
|
||||
}
|
||||
|
||||
DI::baseUrl()->redirect('admin/themes/' . $theme);
|
||||
|
|
|
@ -62,8 +62,6 @@ class Embed extends BaseAdmin
|
|||
}
|
||||
}
|
||||
|
||||
info(DI::l10n()->t('Theme settings updated.'));
|
||||
|
||||
if (DI::mode()->isAjax()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ class Index extends BaseAdmin
|
|||
} elseif (Theme::install($theme)) {
|
||||
info(DI::l10n()->t('Theme %s successfully enabled.', $theme));
|
||||
} else {
|
||||
info(DI::l10n()->t('Theme %s failed to install.', $theme));
|
||||
notice(DI::l10n()->t('Theme %s failed to install.', $theme));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ class Tos extends BaseAdmin
|
|||
DI::config()->set('system', 'tosprivstatement', $displayprivstatement);
|
||||
DI::config()->set('system', 'tostext', $tostext);
|
||||
|
||||
info(DI::l10n()->t('The Terms of Service settings have been updated.'));
|
||||
|
||||
DI::baseUrl()->redirect('admin/tos');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue