[ticket/11150] Small fix

PHPBB3-11150
This commit is contained in:
Tristan Darricau 2015-09-15 21:24:28 +02:00 committed by Tristan Darricau
parent 178f0e1639
commit 560d4729f9
No known key found for this signature in database
GPG key ID: 817043C2E29DB881
2 changed files with 3 additions and 1 deletions

View file

@ -156,6 +156,8 @@ $lang = array_merge($lang, array(
'ENABLE_PACKAGIST' => 'Enable Packagist usage', 'ENABLE_PACKAGIST' => 'Enable Packagist usage',
'ENABLE_PACKAGIST_EXPLAIN' => 'TODO: text explaining why packagist shouldn\'t be enabled, dev usage, etc...', 'ENABLE_PACKAGIST_EXPLAIN' => 'TODO: text explaining why packagist shouldn\'t be enabled, dev usage, etc...',
'ENABLE_PACKAGIST_CONFIRM' => 'TODO: are you sure you ant to enable packagist?', 'ENABLE_PACKAGIST_CONFIRM' => 'TODO: are you sure you ant to enable packagist?',
'COMPOSER_REPOSITORIES' => 'Repositories',
'COMPOSER_REPOSITORIES_EXPLAIN' => 'TODO: One repo per line',
'EXTENSION_MANAGED_SUCCESS' => 'The extension %s is now managed automatically.', 'EXTENSION_MANAGED_SUCCESS' => 'The extension %s is now managed automatically.',
'EXTENSIONS_INSTALLED' => 'Extensions successfully installed.', 'EXTENSIONS_INSTALLED' => 'Extensions successfully installed.',

View file

@ -275,7 +275,7 @@ class extension_manager extends manager
try try
{ {
$io->writeError('ENABLING_EXTENSION', true, 1); $io->writeError('ENABLING_EXTENSION', true, 1);
$this->extension_manager->enabling($package); $this->extension_manager->enable($package);
} }
catch (\Exception $e) catch (\Exception $e)
{ {