From a640a455f35ccec26a80e9f9de5693dbb9e71c85 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 9 May 2014 00:07:56 +0200 Subject: [ticket/12074] Managing extensions doesn't produce any log entry PHPBB3-12074 --- phpBB/phpbb/console/command/extension/purge.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/phpbb/console/command/extension/purge.php') diff --git a/phpBB/phpbb/console/command/extension/purge.php b/phpBB/phpbb/console/command/extension/purge.php index c2e1d2928c..234d32f302 100644 --- a/phpBB/phpbb/console/command/extension/purge.php +++ b/phpBB/phpbb/console/command/extension/purge.php @@ -35,11 +35,13 @@ class purge extends command if ($this->manager->enabled($name)) { + $this->log->add('critical', ANONYMOUS, '', 'LOG_EXT_PURGE_ERROR', time(), array($name)); $output->writeln("Could not purge extension $name"); return 1; } else { + $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_PURGE', time(), array($name)); $output->writeln("Successfully purge extension $name"); return 0; } -- cgit v1.2.1