Loading inc/class-s3-uploads-stream-wrapper.php +1 −6 Original line number Diff line number Diff line Loading @@ -7,12 +7,7 @@ class S3_Uploads_Stream_Wrapper extends Aws\S3\StreamWrapper { * * @param S3Client $client Client to use with the stream wrapper */ public static function register( Aws\S3\S3Client $client) { if ( in_array('s3', stream_get_wrappers() ) ) { stream_wrapper_unregister('s3'); } public static function register( Aws\S3\S3Client $client) { stream_wrapper_register( 's3', __CLASS__, STREAM_IS_URL ); static::$client = $client; } Loading Loading
inc/class-s3-uploads-stream-wrapper.php +1 −6 Original line number Diff line number Diff line Loading @@ -7,12 +7,7 @@ class S3_Uploads_Stream_Wrapper extends Aws\S3\StreamWrapper { * * @param S3Client $client Client to use with the stream wrapper */ public static function register( Aws\S3\S3Client $client) { if ( in_array('s3', stream_get_wrappers() ) ) { stream_wrapper_unregister('s3'); } public static function register( Aws\S3\S3Client $client) { stream_wrapper_register( 's3', __CLASS__, STREAM_IS_URL ); static::$client = $client; } Loading