summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'])) {