mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:50:11 +00:00
Merge pull request #7116 from MrPetovan/task/improve-addon-admin
Improve addon admin
This commit is contained in:
commit
7bd1a34bf8
2 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,8 @@ class Details extends BaseAdminModule
|
|||
$addon = $a->argv[2];
|
||||
$addon = Strings::sanitizeFilePathItem($addon);
|
||||
if (!is_file("addon/$addon/$addon.php")) {
|
||||
notice(L10n::t('Item not found.'));
|
||||
notice(L10n::t('Addon not found.'));
|
||||
Addon::uninstall($addon);
|
||||
$a->internalRedirect('admin/addons');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue