These aren't stored in a seperate table anymore
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Aug 2009 20:40:41 +0000 (16:40 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Aug 2009 20:40:41 +0000 (16:40 -0400)
ansel/lib/GalleryMode/Date.php
ansel/lib/GalleryMode/Normal.php

index 2a35340..97bf1a5 100644 (file)
@@ -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);
         }
index 7cf1320..fbda4ba 100644 (file)
@@ -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();