| Index: branches/wmf/1.19wmf1/includes/MessageBlobStore.php |
| — | — | @@ -230,6 +230,9 @@ |
| 231 | 231 | public static function clear() { |
| 232 | 232 | // TODO: Give this some more thought |
| 233 | 233 | // TODO: Is TRUNCATE better? |
| | 234 | + |
| | 235 | + // HACK: disable clear() on WMF servers |
| | 236 | + return; |
| 234 | 237 | $dbw = wfGetDB( DB_MASTER ); |
| 235 | 238 | $dbw->delete( 'msg_resource', '*', __METHOD__ ); |
| 236 | 239 | $dbw->delete( 'msg_resource_links', '*', __METHOD__ ); |