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:
committed by
Tristan Darricau
parent
d6618397bf
commit
88b32580dc
@@ -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)
|
||||
|
Reference in New Issue
Block a user