From: Aryeh Gregor Date: Sun, 24 Jun 2007 06:35:47 +0000 (+0000) Subject: Fix two mistakes from last commit X-Git-Tag: 1.31.0-rc.0~52424 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=d8b433a512764a877150d08c44a072a3ac9cfb86;p=lhc%2Fweb%2Fwiklou.git Fix two mistakes from last commit --- 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; } } ?>