aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php
index c2f5ed4ba..4b7809fc1 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -125,7 +125,9 @@ function photo_upload($channel, $observer, $args) {
return $ret;
}
- $ph->orient($src);
+ $exif = $ph->orient($src);
+
+
@unlink($src);
$max_length = get_config('system','max_image_length');