Removed not-so-useful RC caching
authorMr. E23 <e23@users.mediawiki.org>
Thu, 29 Jan 2004 02:58:16 +0000 (02:58 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Thu, 29 Jan 2004 02:58:16 +0000 (02:58 +0000)
includes/SpecialRecentchanges.php

index 71cf5f4..fcd784c 100644 (file)
@@ -92,16 +92,9 @@ function wfSpecialRecentchanges( $par )
          "WHERE rc_timestamp > '{$cutoff}' {$hidem} " .
          "ORDER BY rc_timestamp DESC LIMIT {$limit}";
 
-       $memckey = "$wgDBname:recentchanges:" . md5( $sql2 );
-
-       $rows = $wgMemc->get( $memckey );
-       if( ! is_array($rows) ){
-               $rows = array();
-               $res = wfQuery( $sql2, DB_READ, $fname );
-               while( $row = wfFetchObject( $res ) ){ 
-                       $rows[] = $row; 
-               }
-               $wgMemc->set($memckey, $rows, 60);
+       $res = wfQuery( $sql2, DB_READ, $fname );
+       while( $row = wfFetchObject( $res ) ){ 
+               $rows[] = $row; 
        }
 
        if(isset($from)) {