From: Mark Bergsma Date: Wed, 6 Apr 2005 17:37:55 +0000 (+0000) Subject: Use wfDebug() instead of SquidUpdate::debug() X-Git-Tag: 1.5.0alpha1~380 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Main?a=commitdiff_plain;h=4d362d493d23f3a971bc551d995f5e23fea1c238;p=lhc%2Fweb%2Fwiklou.git Use wfDebug() instead of SquidUpdate::debug() --- diff --git a/includes/SquidUpdate.php b/includes/SquidUpdate.php index d971d0a63b..0e7968f21f 100644 --- a/includes/SquidUpdate.php +++ b/includes/SquidUpdate.php @@ -245,13 +245,13 @@ class SquidUpdate { $htcpTransID, $htcpSpecifier, 2); // Send out - debug( "Purging URL $url via HTCP\n" ); + wfDebug( "Purging URL $url via HTCP\n" ); socket_sendto( $conn, $htcpPacket, $htcpLen, 0, $wgHTCPMulticastAddress, $wgHTCPPort ); } } else { $errstr = socket_strerror( socket_last_error() ); - debug( "SquidUpdate::HTCPPurge(): Error opening UDP socket: $errstr\n" ); + wfDebug( "SquidUpdate::HTCPPurge(): Error opening UDP socket: $errstr\n" ); } wfProfileOut( $fname ); }