Browse Source

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
mark_story 13 years ago
parent
commit
d01d291d13
2 changed files with 0 additions and 12 deletions
  1. 0 6
      app/Config/core.php
  2. 0 6
      lib/Cake/Console/Templates/skel/Config/core.php

+ 0 - 6
app/Config/core.php

@@ -151,12 +151,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.
  *
  * Contains an array of settings to use for session configuration. The defaults key is

+ 0 - 6
lib/Cake/Console/Templates/skel/Config/core.php

@@ -151,12 +151,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.
  *
  * Contains an array of settings to use for session configuration. The defaults key is