aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-12-06 20:21:53 +0000
committermistic100 <mistic@piwigo.org>2013-12-06 20:21:53 +0000
commit02620af9582015403e97e67eed8b4ec4c9a20ea7 (patch)
treef4d4279ea69518330f01ee2494383e3f729f7428 /install
parent4fca6a259e7e68af8e668fd0e89bfdbe0c8a1c45 (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
Diffstat (limited to 'install')
-rw-r--r--install/db/139-database.php8
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";