Revert r28215: incorrectly moved files
[lhc/web/wiklou.git] / includes / SpecialAncientpages.php
index 5499857..dee8fbd 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 /**
- *
+ * Implements Special:Ancientpages
  * @addtogroup SpecialPage
  */
 class AncientPagesPage extends QueryPage {
@@ -22,7 +22,7 @@ class AncientPagesPage extends QueryPage {
 
        function getSQL() {
                global $wgDBtype;
-               $db =& wfGetDB( DB_SLAVE );
+               $db = wfGetDB( DB_SLAVE );
                $page = $db->tableName( 'page' );
                $revision = $db->tableName( 'revision' );
                #$use_index = $db->useIndexClause( 'cur_timestamp' ); # FIXME! this is gone
@@ -60,4 +60,4 @@ function wfSpecialAncientpages() {
        $app->doQuery( $offset, $limit );
 }
 
-?>
+