diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-21 13:56:10 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-21 13:56:10 -0700 |
commit | ed6dfbc0e8eabf7662d128fd4241a92fa3a140b8 (patch) | |
tree | 59b0f95cabd8ea7a5a5db114359bc9a516ce99f2 | |
parent | c01e467466eff51926108d030f21385179fa24d2 (diff) |
Revert "If captured had been used for any sort orders, reset back to weight"
This reverts commit c01e467466eff51926108d030f21385179fa24d2.
-rw-r--r-- | modules/gallery/helpers/gallery_installer.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index 645d6865..aebb7a32 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -367,8 +367,6 @@ class gallery_installer { if ($version == 12) { // remove the capture field if exif is not installed and it has no data if (!module::is_active("exif")) { - $db->query("update g3_items set sort_order = 'weight' - where type = 'album' and sort_order = 'captured';"); $total_records = $db->query("SELECT COUNT(id) as total_records FROM {items}") ->current()->total_records; $count_null = $db->query("SELECT COUNT(id) as count_null FROM {items} where `captured`is NULL") |