From: Aaron Schulz Date: Thu, 7 Feb 2013 22:42:26 +0000 (-0800) Subject: Fixed bogus function call. X-Git-Tag: 1.31.0-rc.0~20763^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=5c90be4738b95268125b2037f2ed9bc0ad1648b5;p=lhc%2Fweb%2Fwiklou.git Fixed bogus function call. Change-Id: I7357a1fb9d51660f81ed611260d82d11674342d9 --- diff --git a/includes/externalstore/ExternalStoreMwstore.php b/includes/externalstore/ExternalStoreMwstore.php index b19293bbe9..8e0adda5c3 100644 --- a/includes/externalstore/ExternalStoreMwstore.php +++ b/includes/externalstore/ExternalStoreMwstore.php @@ -55,7 +55,7 @@ class ExternalStoreMwstore extends ExternalStoreMedium { // Get three random base 36 characters to act as shard directories $rand = wfBaseConvert( mt_rand( 0, 46655 ), 10, 36, 3 ); // Make sure ID is roughly lexicographically increasing for performance - $id = str_pad( UIDGenerator::getTimestampedID128( 32 ), 26, '0', STR_PAD_LEFT ); + $id = str_pad( UIDGenerator::newTimestampedUID128( 32 ), 26, '0', STR_PAD_LEFT ); // Segregate items by wiki ID for the sake of bookkeeping $wiki = isset( $this->params['wiki'] ) ? $this->params['wiki'] : wfWikiID();