Remove message 'unprotectsub', unused since ages
[lhc/web/wiklou.git] / maintenance / dumpLinks.php
index cb883e4..f61c398 100644 (file)
@@ -41,7 +41,7 @@ $result = $dbr->select( array( 'pagelinks', 'page' ),
                'pl_title' ),
        array( 'page_id=pl_from' ),
        'dumpLinks',
-       array( 'ORDER BY page_id' ) );
+       array( 'ORDER BY' => 'page_id' ) );
 
 $lastPage = null;
 while( $row = $dbr->fetchObject( $result ) ) {
@@ -59,4 +59,4 @@ while( $row = $dbr->fetchObject( $result ) ) {
 if( isset( $lastPage ) )
        print "\n";
 
-?>
+