aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/extension/enable.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-26 18:55:19 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-26 18:55:19 +0200
commita6782801e768e9aac937c6670cd22f84dfdfb726 (patch)
treec223d72ddaefe1f8eeb7ff1a7bfbeb590fea0dd9 /phpBB/phpbb/console/command/extension/enable.php
parent26674bff3999cf70840b6c15007f9c66ef4bb218 (diff)
parent93d3c517e3aac385e5ce8adb7e20592abf8b4b14 (diff)
downloadforums-a6782801e768e9aac937c6670cd22f84dfdfb726.tar
forums-a6782801e768e9aac937c6670cd22f84dfdfb726.tar.gz
forums-a6782801e768e9aac937c6670cd22f84dfdfb726.tar.bz2
forums-a6782801e768e9aac937c6670cd22f84dfdfb726.tar.xz
forums-a6782801e768e9aac937c6670cd22f84dfdfb726.zip
Merge pull request #2429 from Nicofuma/ticket/12074
[ticket/12074] Managing extensions doesn't produce any log entry * Nicofuma/ticket/12074: [ticket/12074] Update the visibility of the constructor [ticket/12074] Don't log errors [ticket/12074] Managing extensions doesn't produce any log entry
Diffstat (limited to 'phpBB/phpbb/console/command/extension/enable.php')
-rw-r--r--phpBB/phpbb/console/command/extension/enable.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php
index ee7dae76aa..757f19005e 100644
--- a/phpBB/phpbb/console/command/extension/enable.php
+++ b/phpBB/phpbb/console/command/extension/enable.php
@@ -35,6 +35,7 @@ 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;
}