From 02620af9582015403e97e67eed8b4ec4c9a20ea7 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 6 Dec 2013 20:21:53 +0000 Subject: feature 3009: Don't delete 'lat' and 'lon' fields in case users try to delete an old plugin using them (SQL crash) git-svn-id: http://piwigo.org/svn/trunk@25802 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/139-database.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'install') diff --git a/install/db/139-database.php b/install/db/139-database.php index d8fc59419..a1d6e8bb5 100644 --- a/install/db/139-database.php +++ b/install/db/139-database.php @@ -55,14 +55,6 @@ UPDATE '. IMAGES_TABLE .' longitude = lon WHERE lat != NULL AND lon != NULL -;'; - pwg_query($query); - - // delete old fields - $query = ' -ALTER TABLE '. IMAGES_TABLE .' - DROP `lat`, - DROP `lon` ;'; pwg_query($query); } -- cgit v1.2.3