Merge "Add tag parameter to API action=rollback"
[lhc/web/wiklou.git] / maintenance / purgeList.php
index 8a3818a..31ea5d0 100644 (file)
@@ -129,7 +129,7 @@ class PurgeList extends Maintenance {
                                if ( $this->hasOption( 'verbose' ) ) {
                                        $this->output( $url . "\n" );
                                }
-                               $u = new SquidUpdate( array( $url ) );
+                               $u = new CdnCacheUpdate( array( $url ) );
                                $u->doUpdate();
                                usleep( $delay * 1e6 );
                        }
@@ -137,11 +137,10 @@ class PurgeList extends Maintenance {
                        if ( $this->hasOption( 'verbose' ) ) {
                                $this->output( implode( "\n", $urls ) . "\n" );
                        }
-                       $u = new SquidUpdate( $urls );
+                       $u = new CdnCacheUpdate( $urls );
                        $u->doUpdate();
                }
        }
-
 }
 
 $maintClass = "PurgeList";