From 5c90be4738b95268125b2037f2ed9bc0ad1648b5 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 7 Feb 2013 14:42:26 -0800 Subject: [PATCH] Fixed bogus function call. Change-Id: I7357a1fb9d51660f81ed611260d82d11674342d9 --- includes/externalstore/ExternalStoreMwstore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1