Fixed bogus function call.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Feb 2013 22:42:26 +0000 (14:42 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Feb 2013 22:42:26 +0000 (14:42 -0800)
Change-Id: I7357a1fb9d51660f81ed611260d82d11674342d9

includes/externalstore/ExternalStoreMwstore.php

index b19293b..8e0adda 100644 (file)
@@ -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();