Merge "Use our fork of less.php" into REL1_31
[lhc/web/wiklou.git] / maintenance / 7zip.inc
index 02156c7..9c1093b 100644 (file)
@@ -36,6 +36,7 @@ class SevenZipStream {
 
        private function stripPath( $path ) {
                $prefix = 'mediawiki.compress.7z://';
+
                return substr( $path, strlen( $prefix ) );
        }
 
@@ -91,4 +92,5 @@ class SevenZipStream {
                return fseek( $this->stream, $offset, $whence );
        }
 }
-stream_wrapper_register( 'mediawiki.compress.7z', 'SevenZipStream' );
+
+stream_wrapper_register( 'mediawiki.compress.7z', SevenZipStream::class );