From 50be3dfb80dbc5cf1e4399e966b8bb7ed9a0bd5d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 13 Aug 2009 16:40:41 -0400 Subject: [PATCH] These aren't stored in a seperate table anymore --- ansel/lib/GalleryMode/Date.php | 3 --- ansel/lib/GalleryMode/Normal.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/ansel/lib/GalleryMode/Date.php b/ansel/lib/GalleryMode/Date.php index 2a3534087..97bf1a5a5 100644 --- a/ansel/lib/GalleryMode/Date.php +++ b/ansel/lib/GalleryMode/Date.php @@ -528,9 +528,6 @@ class Ansel_GalleryMode_Date { /* Remove any attributes */ $this->_gallery->_shareOb->_write_db->exec('DELETE FROM ansel_image_attributes WHERE image_id = ' . (int)$image->id); - /* Remove any geolocation data */ - $this->_gallery->_shareOb->_write_db->exec('DELETE FROM ansel_images_geolocation WHERE image_id = ' . (int)$image->id); - if (!$isStack) { $this->_gallery->updateImageCount(1, false, $image_gallery); } diff --git a/ansel/lib/GalleryMode/Normal.php b/ansel/lib/GalleryMode/Normal.php index 7cf1320e6..fbda4ba2b 100644 --- a/ansel/lib/GalleryMode/Normal.php +++ b/ansel/lib/GalleryMode/Normal.php @@ -239,9 +239,6 @@ class Ansel_GalleryMode_Normal { $this->_gallery->updateImageCount(1, false); } - /* Remove any geolocation data */ - $this->_gallery->_shareOb->_write_db->exec('DELETE FROM ansel_images_geolocation WHERE image_id = ' . (int)$image->id); - /* Update the modified flag if we are not a stack image */ if (!$isStack) { $this->_gallery->data['attribute_last_modified'] = time(); -- 2.11.0