From 3029f93000198908bddacb0079aae2d0ecda0c5d Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 9 May 2014 00:26:07 +0200 Subject: [ticket/12074] Don't log errors PHPBB3-12074 --- phpBB/phpbb/console/command/extension/disable.php | 1 - phpBB/phpbb/console/command/extension/enable.php | 1 - phpBB/phpbb/console/command/extension/purge.php | 1 - 3 files changed, 3 deletions(-) (limited to 'phpBB/phpbb/console/command/extension') diff --git a/phpBB/phpbb/console/command/extension/disable.php b/phpBB/phpbb/console/command/extension/disable.php index fb0c23762f..ceaf168108 100644 --- a/phpBB/phpbb/console/command/extension/disable.php +++ b/phpBB/phpbb/console/command/extension/disable.php @@ -35,7 +35,6 @@ class disable extends command if ($this->manager->enabled($name)) { - $this->log->add('critical', ANONYMOUS, '', 'LOG_EXT_DISABLE_ERROR', time(), array($name)); $output->writeln("Could not disable extension $name"); return 1; } diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php index e20a5ba81d..757f19005e 100644 --- a/phpBB/phpbb/console/command/extension/enable.php +++ b/phpBB/phpbb/console/command/extension/enable.php @@ -41,7 +41,6 @@ class enable extends command } else { - $this->log->add('critical', ANONYMOUS, '', 'LOG_EXT_ENABLE_ERROR', time(), array($name)); $output->writeln("Could not enable extension $name"); return 1; } diff --git a/phpBB/phpbb/console/command/extension/purge.php b/phpBB/phpbb/console/command/extension/purge.php index 234d32f302..0342d116f5 100644 --- a/phpBB/phpbb/console/command/extension/purge.php +++ b/phpBB/phpbb/console/command/extension/purge.php @@ -35,7 +35,6 @@ 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; } -- cgit v1.2.1