r14632 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14631‎ | r14632 | r14633 >
Date:07:50, 7 June 2006
Author:brion
Status:old
Tags:
Comment:
Unbreak the wiki when the base BagOStuff class is used for faux cache objects (as in parser tests)
This was broken in r14631 by declaring the class abstract, and therefore non-instantiable.
Modified paths:
  • /trunk/phase3/includes/BagOStuff.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/BagOStuff.php
@@ -33,9 +33,8 @@
3434 * $bag = new MysqlBagOStuff($tablename); # connect to db first
3535 *
3636 * @package MediaWiki
37 - * @abstract
3837 */
39 -abstract class BagOStuff {
 38+class BagOStuff {
4039 var $debugmode;
4140
4241 function BagOStuff() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r14631Removed most exit() calls from the MediaWiki core, by replacing them with eit...tstarling06:40, 7 June 2006

Status & tagging log