summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-12 09:02:00 -0800
committerBrion Vibber <brion@pobox.com>2009-11-12 09:02:00 -0800
commitd8fe5224cb5628f1a281c7498a516e89992f6474 (patch)
tree51284b5f2b7ec66206dae842731579b58bc509fc
parent707efadbd4b44435741ad9b2b972a77f4069e689 (diff)
Fix for bug 1974: drop unnecessary define_syslog_variables() call from common.php
The call was moved to this spot in commit 3ea1119e500c23ee918569e2a58cc5abaa1d8a5a (previously init'd later in another func) but doesn't seem to be needed anyway. None of our code uses the variables that this function defines, just the constants -- which are already predefined without the call. The function is deprecated in PHP 5.3 and gone in 6, so we may as well toss it now.
-rw-r--r--lib/common.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/common.php b/lib/common.php
index 4958866d0..fbe4216e3 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -38,8 +38,6 @@ define('FOREIGN_NOTICE_SEND_REPLY', 4);
define('FOREIGN_FRIEND_SEND', 1);
define('FOREIGN_FRIEND_RECV', 2);
-define_syslog_variables();
-
# append our extlib dir as the last-resort place to find libs
set_include_path(get_include_path() . PATH_SEPARATOR . INSTALLDIR . '/extlib/');