Fix fatal in r77354 (!!), discovered this when purgeList.php fataled on me on the...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 30 Jun 2011 15:15:54 +0000 (15:15 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 30 Jun 2011 15:15:54 +0000 (15:15 +0000)
maintenance/purgeList.php

index 2ae4b22..9072b42 100644 (file)
@@ -43,7 +43,7 @@ class PurgeList extends Maintenance {
                                        $url = $title->getFullUrl();
                                        $this->output( "$url\n" );
                                        $urls[] = $url;
-                                       if ( $this->getOptions( 'purge' ) ) {
+                                       if ( $this->getOption( 'purge' ) ) {
                                                $title->invalidateCache();
                                        }
                                } else {