aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SquidUpdate.php
diff options
context:
space:
mode:
authorMark Bergsma <mark@users.mediawiki.org>2005-04-06 17:37:55 +0000
committerMark Bergsma <mark@users.mediawiki.org>2005-04-06 17:37:55 +0000
commit4d362d493d23f3a971bc551d995f5e23fea1c238 (patch)
tree8d0a96e91f919b868b07ef5e0f704c2a60634b71 /includes/SquidUpdate.php
parente2bf8490320c4a3bda8296fddee25be4257acffb (diff)
downloadmediawikicore-4d362d493d23f3a971bc551d995f5e23fea1c238.tar.gz
mediawikicore-4d362d493d23f3a971bc551d995f5e23fea1c238.zip
Use wfDebug() instead of SquidUpdate::debug()
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8096
Diffstat (limited to 'includes/SquidUpdate.php')
-rw-r--r--includes/SquidUpdate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/SquidUpdate.php b/includes/SquidUpdate.php
index d971d0a63b8c..0e7968f21f98 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 );
}