From d01d291d13c8c4aed4a63b79525bafe905ad9a98 Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 16 Apr 2013 12:32:00 -0400 Subject: [PATCH] Remove unused define. The LOG_ERROR constant is no longer used by the logging system. It is an unused relic from 1.x. Additionally changing the value of ERROR to not be error creates counterintuitive code. Fixes #3762 --- app/Config/core.php | 6 ------ lib/Cake/Console/Templates/skel/Config/core.php | 6 ------ 2 files changed, 12 deletions(-) diff --git a/app/Config/core.php b/app/Config/core.php index c705ece8a..df16a8b98 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -150,12 +150,6 @@ */ //Configure::write('Cache.viewPrefix', 'prefix'); -/** - * Defines the default error type when using the log() function. Used for - * differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. - */ - define('LOG_ERROR', LOG_ERR); - /** * Session configuration. * diff --git a/lib/Cake/Console/Templates/skel/Config/core.php b/lib/Cake/Console/Templates/skel/Config/core.php index c705ece8a..df16a8b98 100644 --- a/lib/Cake/Console/Templates/skel/Config/core.php +++ b/lib/Cake/Console/Templates/skel/Config/core.php @@ -150,12 +150,6 @@ */ //Configure::write('Cache.viewPrefix', 'prefix'); -/** - * Defines the default error type when using the log() function. Used for - * differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. - */ - define('LOG_ERROR', LOG_ERR); - /** * Session configuration. *