Skip to content
Permalink
Browse files

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
  • Loading branch information...
markstory committed Apr 16, 2013
1 parent 8eb5696 commit d01d291d13c8c4aed4a63b79525bafe905ad9a98
Showing with 0 additions and 12 deletions.
  1. +0 −6 app/Config/core.php
  2. +0 −6 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.
*
@@ -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.
*

0 comments on commit d01d291

Please sign in to comment.
You can’t perform that action at this time.