From d8b433a512764a877150d08c44a072a3ac9cfb86 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 24 Jun 2007 06:35:47 +0000 Subject: [PATCH] Fix two mistakes from last commit --- includes/filerepo/File.php | 2 +- includes/filerepo/UnregisteredLocalFile.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 4e97d0bcea..c7f21cb0e1 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -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 diff --git a/includes/filerepo/UnregisteredLocalFile.php b/includes/filerepo/UnregisteredLocalFile.php index 3a840fb851..60f1173fca 100644 --- a/includes/filerepo/UnregisteredLocalFile.php +++ b/includes/filerepo/UnregisteredLocalFile.php @@ -105,7 +105,5 @@ class UnregisteredLocalFile extends File { return false; } } - - function getMediaType() { return MEDIATYPE_UNKNOWN; } } ?> -- 2.20.1