From a184be45fdd14e6e460f10768a5cc7282a357b8e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 20 Aug 2016 12:51:24 +0200 Subject: l/Image/Driver/GD: Drop unused get_exif_orientation() This appears to be an exact copy of \libraries\Image, but only the function from \libraries\Image is actually used. Signed-off-by: Florian Pritz --- application/libraries/Image/Drivers/GD.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/application/libraries/Image/Drivers/GD.php b/application/libraries/Image/Drivers/GD.php index 5c6411ced..e2e0a99be 100644 --- a/application/libraries/Image/Drivers/GD.php +++ b/application/libraries/Image/Drivers/GD.php @@ -135,15 +135,6 @@ class GD implements \libraries\Image\ImageDriver { $this->apply_exif_orientation(); } - static public function get_exif_orientation($file) - { - $exif = \libraries\Exif::get_exif($file); - if (isset($exif["Orientation"])) { - return $exif["Orientation"]; - } - return 0; - } - public function apply_exif_orientation() { if (isset($this->exif['Orientation'])) { -- cgit v1.2.3-24-g4f1b