filebackend: clean up some comments and remove unused FileBackendStoreOpHandle field
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 9 Sep 2019 11:44:36 +0000 (04:44 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 9 Sep 2019 11:44:36 +0000 (04:44 -0700)
Change-Id: I67ae874219e0056f9173d653c3dc272099b9b2e8

includes/libs/filebackend/FileBackendStore.php
includes/libs/filebackend/fileophandle/FileBackendStoreOpHandle.php

index f2c07e8..5caf250 100644 (file)
@@ -1587,7 +1587,7 @@ abstract class FileBackendStore extends FileBackend {
                                // Validate and sanitize the relative path (backend-specific)
                                $relPath = $this->resolveContainerPath( $shortCont, $relPath );
                                if ( $relPath !== null ) {
                                // Validate and sanitize the relative path (backend-specific)
                                $relPath = $this->resolveContainerPath( $shortCont, $relPath );
                                if ( $relPath !== null ) {
-                                       // Prepend any wiki ID prefix to the container name
+                                       // Prepend any domain ID prefix to the container name
                                        $container = $this->fullContainerName( $shortCont );
                                        if ( self::isValidContainerName( $container ) ) {
                                                // Validate and sanitize the container name (backend-specific)
                                        $container = $this->fullContainerName( $shortCont );
                                        if ( self::isValidContainerName( $container ) ) {
                                                // Validate and sanitize the container name (backend-specific)
@@ -1722,7 +1722,7 @@ abstract class FileBackendStore extends FileBackend {
        }
 
        /**
        }
 
        /**
-        * Get the full container name, including the wiki ID prefix
+        * Get the full container name, including the domain ID prefix
         *
         * @param string $container
         * @return string
         *
         * @param string $container
         * @return string
index c366a0f..649225d 100644 (file)
@@ -35,8 +35,6 @@ abstract class FileBackendStoreOpHandle {
        /** @var array */
        public $resourcesToClose = [];
 
        /** @var array */
        public $resourcesToClose = [];
 
-       public $call; // string; name that identifies the function called
-
        /**
         * Close all open file handles
         */
        /**
         * Close all open file handles
         */