Fix two mistakes from last commit
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 24 Jun 2007 06:35:47 +0000 (06:35 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 24 Jun 2007 06:35:47 +0000 (06:35 +0000)
includes/filerepo/File.php
includes/filerepo/UnregisteredLocalFile.php

index 4e97d0b..c7f21cb 100644 (file)
@@ -214,7 +214,7 @@ abstract class File {
         * Overridden by LocalFile, UnregisteredLocalFile
         * STUB
         */
-       public function getMetadata() { return false; }
+       function getMetadata() { return false; }
 
        /**
         * Return the size of the image file, in bytes
index 3a840fb..60f1173 100644 (file)
@@ -105,7 +105,5 @@ class UnregisteredLocalFile extends File {
                        return false;
                }
        }
-       
-       function getMediaType() { return MEDIATYPE_UNKNOWN; }
 }
 ?>