Remove File::getPropsFromPath() (deprecated since 1.19)
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 28 Jul 2014 10:39:12 +0000 (12:39 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 28 Jul 2014 20:23:47 +0000 (22:23 +0200)
Change-Id: I11b6c582b9ce60cba03e55d55afb7cd02d218049

RELEASE-NOTES-1.24
includes/filerepo/file/File.php

index bc94942..fa8ed00 100644 (file)
@@ -281,6 +281,7 @@ changes to languages because of Bugzilla reports.
 * A _from_namespace field has been added to the templatelinks, pagelinks,
   and filelinks tables. Run update.php to apply this change to the schema.
 * Removed File::sha1Base36(). (deprecated since 1.19)
+* Removed File::getPropsFromPath(). (deprecated since 1.19)
 
 ==== Renamed classes ====
 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
index 17207d4..c6da1f1 100644 (file)
@@ -2072,25 +2072,6 @@ abstract class File {
                return true;
        }
 
-       /**
-        * Get an associative array containing information about a file in the local filesystem.
-        *
-        * @param string $path Absolute local filesystem path
-        * @param string|bool $ext The file extension, or true to extract it from
-        *   the filename. Set it to false to ignore the extension.
-        *
-        * @return array
-        * @deprecated since 1.19
-        */
-       static function getPropsFromPath( $path, $ext = true ) {
-               wfDebug( __METHOD__ . ": Getting file info for $path\n" );
-               wfDeprecated( __METHOD__, '1.19' );
-
-               $fsFile = new FSFile( $path );
-
-               return $fsFile->getProps();
-       }
-
        /**
         * @return array HTTP header name/value map to use for HEAD/GET request responses
         */