MediaWiki  REL1_19
EmptyBagOStuff.php
Go to the documentation of this file.
00001 <?php
00002 
00008 class EmptyBagOStuff extends BagOStuff {
00009         function get( $key ) {
00010                 return false;
00011         }
00012 
00013         function set( $key, $value, $exp = 0 ) {
00014                 return true;
00015         }
00016 
00017         function delete( $key, $time = 0 ) {
00018                 return true;
00019         }
00020 }
00021 
00026 class FakeMemCachedClient extends EmptyBagOStuff {
00027 }