summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2013-10-25 19:44:37 (GMT)
committercatch2013-10-25 19:44:37 (GMT)
commit0e0bd627611abe0760fcf96552140e762876326b (patch)
tree6d36be3102e4aed805bec4fbe972b8fdb0b1103f
parent3be34dfd6b9a8461fbc35b28f2a6596a52c446cb (diff)
Issue #1618178 by manarth: Fixed Remove redundant DEFAULT_SYSLOG_FACILITY definition from Syslog.
-rw-r--r--core/modules/syslog/syslog.module16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/modules/syslog/syslog.module b/core/modules/syslog/syslog.module
index 5742f6a..287cfaf 100644
--- a/core/modules/syslog/syslog.module
+++ b/core/modules/syslog/syslog.module
@@ -5,22 +5,6 @@
* Redirects logging messages to syslog.
*/
-if (defined('LOG_LOCAL0')) {
- /**
- * Sets the proper logging facility.
- *
- * Note that LOG_LOCAL0 through LOG_LOCAL7 are not available on Windows, so we
- * check for availability. If LOG_LOCAL0 is defined by the PHP environment, we
- * set that as the default; if not, we use LOG_USER.
- *
- * @see http://php.net/manual/function.syslog.php
- */
- define('DEFAULT_SYSLOG_FACILITY', LOG_LOCAL0);
-}
-else {
- define('DEFAULT_SYSLOG_FACILITY', LOG_USER);
-}
-
/**
* Implements hook_help().
*/