Fix regression introduced in r23023; use the right function name when calling to...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 19 Jun 2007 15:11:20 +0000 (15:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 19 Jun 2007 15:11:20 +0000 (15:11 +0000)
includes/filerepo/LocalFile.php

index 2e1f8a8..d820317 100644 (file)
@@ -150,7 +150,7 @@ class LocalFile extends File
         * Load metadata from the file itself
         */
        function loadFromFile() {
-               $this->setProps( self::getInfoFromPath( $this->getPath() ) );
+               $this->setProps( self::getPropsFromPath( $this->getPath() ) );
        }
 
        function getCacheFields( $prefix = 'img_' ) {