Index: trunk/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -548,7 +548,7 @@ |
549 | 549 | $this->purgeThumbnails(); |
550 | 550 | |
551 | 551 | // Purge squid cache for this file |
552 | | - wfPurgeSquidServers( array( $this->getURL() ) ); |
| 552 | + SquidUpdate::purge( array( $this->getURL() ) ); |
553 | 553 | } |
554 | 554 | |
555 | 555 | /** |
— | — | @@ -572,7 +572,7 @@ |
573 | 573 | |
574 | 574 | // Purge the squid |
575 | 575 | if ( $wgUseSquid ) { |
576 | | - wfPurgeSquidServers( $urls ); |
| 576 | + SquidUpdate::purge( $urls ); |
577 | 577 | } |
578 | 578 | } |
579 | 579 | |
— | — | @@ -738,7 +738,7 @@ |
739 | 739 | // Delete thumbnails and refresh the metadata cache |
740 | 740 | $this->purgeThumbnails(); |
741 | 741 | $this->saveToCache(); |
742 | | - wfPurgeSquidServers( array( $this->getURL() ) ); |
| 742 | + SquidUpdate::purge( array( $this->getURL() ) ); |
743 | 743 | |
744 | 744 | // Fail now if the file isn't there |
745 | 745 | if ( !$this->fileExists ) { |
Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -548,7 +548,7 @@ |
549 | 549 | } |
550 | 550 | |
551 | 551 | if ( $wgUseSquid ) { |
552 | | - wfPurgeSquidServers( array( $thumbUrl ) ); |
| 552 | + SquidUpdate::purge( array( $thumbUrl ) ); |
553 | 553 | } |
554 | 554 | } while (false); |
555 | 555 | |