/**
* @param $title Title
- *
+ *
* @return SquidUpdate
*/
static function newFromLinksTo( &$title ) {
return new SquidUpdate( $urlArr );
}
+ /**
+ * Purges the list of URLs passed to the constructor
+ */
function doUpdate() {
SquidUpdate::purge( $this->urlArr );
}
}
if ( $wgHTCPMulticastAddress && $wgHTCPPort ) {
- return SquidUpdate::HTCPPurge( $urlArr );
+ SquidUpdate::HTCPPurge( $urlArr );
}
wfProfileIn( __METHOD__ );
wfProfileOut( __METHOD__ );
}
+ /**
+ * @throws MWException
+ * @param $urlArr array
+ */
static function HTCPPurge( $urlArr ) {
global $wgHTCPMulticastAddress, $wgHTCPMulticastTTL, $wgHTCPPort;
wfProfileIn( __METHOD__ );