X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStorage%2FSqlBlobStore.php;h=82410cc5b9dff6160a67b8f493147de8271038fb;hb=0fb6bd09b0aa0741316007a6ea1b62ec4518d7b3;hp=a5c59852129602a894f5b5d482185b4b8c51f77e;hpb=43a0144346da4e6edbbadee0b7d9def53357bc10;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Storage/SqlBlobStore.php b/includes/Storage/SqlBlobStore.php index a5c5985212..82410cc5b9 100644 --- a/includes/Storage/SqlBlobStore.php +++ b/includes/Storage/SqlBlobStore.php @@ -606,12 +606,14 @@ class SqlBlobStore implements IDBAccessObject, BlobStore { /** * Splits a blob address into three parts: the schema, the ID, and parameters/flags. * + * @since 1.33 + * * @param string $address * * @throws InvalidArgumentException * @return array [ $schema, $id, $parameters ], with $parameters being an assoc array. */ - private static function splitBlobAddress( $address ) { + public static function splitBlobAddress( $address ) { if ( !preg_match( '/^(\w+):(\w+)(\?(.*))?$/', $address, $m ) ) { throw new InvalidArgumentException( "Bad blob address: $address" ); }