1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11150] Add Remove && Update buttons

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-14 18:43:58 +02:00
committed by Tristan Darricau
parent d6618397bf
commit 88b32580dc
5 changed files with 185 additions and 46 deletions

View File

@@ -187,7 +187,7 @@ class extension_manager extends manager
$this->extension_manager->disable($package);
}
$ext_path = $this->extension_manager->get_extension_path($package);
$ext_path = $this->extension_manager->get_extension_path($package, true);
$backup_path = rtrim($ext_path, '/') . '__backup__';
try
@@ -201,7 +201,7 @@ class extension_manager extends manager
try
{
$this->install((array) $package);
$this->install((array) $package, $io);
$this->filesystem->remove($backup_path);
}
catch (runtime_exception $e)