r110621 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110620‎ | r110621 | r110622 >
Date:21:51, 2 February 2012
Author:reedy
Status:deferred
Tags:
Comment:
Pass an empty array for params
Modified paths:
  • /trunk/extensions/ProtectSite/ProtectSite.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProtectSite/ProtectSite.php
@@ -80,7 +80,7 @@
8181 }
8282
8383 /* Initialize Object */
84 - $persist_data = new MediaWikiBagOStuff();
 84+ $persist_data = new SqlBagOStuff( array() );
8585
8686 /* Get data into the prot hash */
8787 $prot = $wgMemc->get( wfMemcKey( 'protectsite' ) );
@@ -131,4 +131,4 @@
132132 }
133133 }
134134 }
135 -}
\ No newline at end of file
 135+}

Status & tagging log