* Remove incomplete isFileCacheable(), the parent one is fine
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 19 Nov 2008 00:02:23 +0000 (00:02 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 19 Nov 2008 00:02:23 +0000 (00:02 +0000)
* Break long line

includes/Category.php
includes/CategoryPage.php

index dcb4460..8dc7978 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 /**
- * Category objects are immutable, strictly speaking.  If you call methods that change the database, like to refresh link counts, the objects will be appropriately reinitialized.  Member variables are lazy-initialized.
+ * Category objects are immutable, strictly speaking. If you call methods that change the database, 
+ * like to refresh link counts, the objects will be appropriately reinitialized.
+ * Member variables are lazy-initialized.
  *
  * TODO: Move some stuff from CategoryPage.php to here, and use that.
  *
index bf67f88..e9b0520 100644 (file)
@@ -37,19 +37,6 @@ class CategoryPage extends Article {
                }
        }
 
-       /**
-        * This page should not be cached if 'from' or 'until' has been used
-        * @return bool
-        */
-       function isFileCacheable() {
-               global $wgRequest;
-
-               return ( ! Article::isFileCacheable()
-                               || $wgRequest->getVal( 'from' )
-                               || $wgRequest->getVal( 'until' )
-               ) ? false : true;
-       }
-
        function openShowCategory() {
                # For overloading
        }