- $params['writableLocations'] = [];
- // Determine the locations for this protocol/store still receiving writes
- foreach ( $this->writeBaseUrls as $storeUrl ) {
- list( $storeProto, $storePath ) = self::splitStorageUrl( $storeUrl );
- if ( $protoLowercase === strtolower( $storeProto ) ) {
- $params['writableLocations'][] = $storePath;
- }
- }