Index: trunk/phase3/includes/LocalisationCache.php |
— | — | @@ -623,7 +623,11 @@ |
624 | 624 | $this->store->finishWrite(); |
625 | 625 | |
626 | 626 | # Clear out the MessageBlobStore |
627 | | - MessageBlobStore::clear(); |
| 627 | + # HACK: If using a null (i.e. disabled) storage backend, we |
| 628 | + # can't write to the MessageBlobStore either |
| 629 | + if ( !$this->store instanceof LCStore_Null ) { |
| 630 | + MessageBlobStore::clear(); |
| 631 | + } |
628 | 632 | |
629 | 633 | wfProfileOut( __METHOD__ ); |
630 | 634 | } |