summaryrefslogtreecommitdiffstats
path: root/application/libraries/Image/Drivers/GD.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-20 12:51:24 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-20 12:51:24 +0200
commita184be45fdd14e6e460f10768a5cc7282a357b8e (patch)
tree0e96383ec5728b3ff82f17e461e097b2c93a6732 /application/libraries/Image/Drivers/GD.php
parent6fb44778fd709739f7c5ddc6d51adc6dd234464d (diff)
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 <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Image/Drivers/GD.php')
-rw-r--r--application/libraries/Image/Drivers/GD.php9
1 files changed, 0 insertions, 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'])) {