Skip to content
Permalink
Browse files

removing unneeded LOG_* constant checks

  • Loading branch information...
rchavik committed May 13, 2012
1 parent e6860fb commit 6ede36f8e08ebd20500a244f3be4b3ecb5a568b1
Showing with 0 additions and 33 deletions.
  1. +0 −33 lib/Cake/Log/CakeLog.php
@@ -19,39 +19,6 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
/**
* Set up error level constants to be used within the framework if they are not defined within the
* system.
*
*/
if (!defined('LOG_EMERG')) {
define('LOG_EMERG', 0);
}
if (!defined('LOG_ALERT')) {
define('LOG_ALERT', 1);
}
if (!defined('LOG_CRIT')) {
define('LOG_CRIT', 2);
}
if (!defined('LOG_ERR')) {
define('LOG_ERR', 3);
}
if (!defined('LOG_ERROR')) {
define('LOG_ERROR', LOG_ERR);
}
if (!defined('LOG_WARNING')) {
define('LOG_WARNING', 4);
}
if (!defined('LOG_NOTICE')) {
define('LOG_NOTICE', 5);
}
if (!defined('LOG_INFO')) {
define('LOG_INFO', 6);
}
if (!defined('LOG_DEBUG')) {
define('LOG_DEBUG', 7);
}
App::uses('LogEngineCollection', 'Log');
/**

0 comments on commit 6ede36f

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