aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/extension/enable.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/console/command/extension/enable.php')
-rw-r--r--phpBB/phpbb/console/command/extension/enable.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php
index ee7dae76aa..e20a5ba81d 100644
--- a/phpBB/phpbb/console/command/extension/enable.php
+++ b/phpBB/phpbb/console/command/extension/enable.php
@@ -35,11 +35,13 @@ class enable extends command
if ($this->manager->enabled($name))
{
+ $this->log->add('admin', ANONYMOUS, '', 'LOG_EXTENSION_ENABLE', time(), array($name));
$output->writeln("<info>Successfully enabled extension $name</info>");
return 0;
}
else
{
+ $this->log->add('critical', ANONYMOUS, '', 'LOG_EXT_ENABLE_ERROR', time(), array($name));
$output->writeln("<error>Could not enable extension $name</error>");
return 1;
}