diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/Exif.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/Exif.php')
-rw-r--r-- | includes/Exif.php | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/includes/Exif.php b/includes/Exif.php index 594e633a..630821c3 100644 --- a/includes/Exif.php +++ b/includes/Exif.php @@ -1,5 +1,7 @@ <?php /** + * Exif metadata reader + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -618,7 +620,7 @@ class FormatExif { * @param $exif Array: the Exif data to format ( as returned by * Exif::getFilteredData() ) */ - function FormatExif( $exif ) { + function __construct( $exif ) { $this->mExif = $exif; } @@ -1146,15 +1148,3 @@ class FormatExif { return $a; } } - -/** - * MW 1.6 compatibility - */ -define( 'MW_EXIF_BYTE', Exif::BYTE ); -define( 'MW_EXIF_ASCII', Exif::ASCII ); -define( 'MW_EXIF_SHORT', Exif::SHORT ); -define( 'MW_EXIF_LONG', Exif::LONG ); -define( 'MW_EXIF_RATIONAL', Exif::RATIONAL ); -define( 'MW_EXIF_UNDEFINED', Exif::UNDEFINED ); -define( 'MW_EXIF_SLONG', Exif::SLONG ); -define( 'MW_EXIF_SRATIONAL', Exif::SRATIONAL ); |