diff options
author | mistic100 <mistic@piwigo.org> | 2013-12-06 20:21:53 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-12-06 20:21:53 +0000 |
commit | 02620af9582015403e97e67eed8b4ec4c9a20ea7 (patch) | |
tree | f4d4279ea69518330f01ee2494383e3f729f7428 | |
parent | 4fca6a259e7e68af8e668fd0e89bfdbe0c8a1c45 (diff) |
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
-rw-r--r-- | install/db/139-database.php | 8 |
1 files changed, 0 insertions, 8 deletions
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 @@ -57,14 +57,6 @@ UPDATE '. IMAGES_TABLE .' AND lon != NULL ;'; pwg_query($query); - - // delete old fields - $query = ' -ALTER TABLE '. IMAGES_TABLE .' - DROP `lat`, - DROP `lon` -;'; - pwg_query($query); } echo "\n".$upgrade_description."\n"; |