aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-09 00:26:07 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-09 00:26:07 +0200
commit3029f93000198908bddacb0079aae2d0ecda0c5d (patch)
treefe46ab6c5c5fc08719cc89a758d99b1dc6ef7d7d /phpBB/phpbb
parenta640a455f35ccec26a80e9f9de5693dbb9e71c85 (diff)
downloadforums-3029f93000198908bddacb0079aae2d0ecda0c5d.tar
forums-3029f93000198908bddacb0079aae2d0ecda0c5d.tar.gz
forums-3029f93000198908bddacb0079aae2d0ecda0c5d.tar.bz2
forums-3029f93000198908bddacb0079aae2d0ecda0c5d.tar.xz
forums-3029f93000198908bddacb0079aae2d0ecda0c5d.zip
[ticket/12074] Don't log errors
PHPBB3-12074
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/console/command/extension/disable.php1
-rw-r--r--phpBB/phpbb/console/command/extension/enable.php1
-rw-r--r--phpBB/phpbb/console/command/extension/purge.php1
3 files changed, 0 insertions, 3 deletions
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("<error>Could not disable extension $name</error>");
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("<error>Could not enable extension $name</error>");
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("<error>Could not purge extension $name</error>");
return 1;
}