* Added a script to reduce disk space on a MySQL parser cache setup such as the one...
[lhc/web/wiklou.git] / includes / objectcache / BagOStuff.php
index 634eff3..97b6cb2 100644 (file)
@@ -91,6 +91,16 @@ abstract class BagOStuff {
                return array();
        }
 
+       /**
+        * Delete all objects expiring before a certain date. 
+        *
+        * @return true on success, false if unimplemented
+        */
+       public function deleteObjectsExpiringBefore( $date ) {
+               // stub
+               return false;
+       }
+
        /* *** Emulated functions *** */
 
        public function add( $key, $value, $exptime = 0 ) {