Skip to content

Commit

Permalink
feature 3009: Don't delete 'lat' and 'lon' fields in case users try t…
Browse files Browse the repository at this point in the history
…o delete an old plugin using them (SQL crash)

git-svn-id: http://piwigo.org/svn/trunk@25802 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
mistic100 committed Dec 6, 2013
1 parent 4fca6a2 commit 02620af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions install/db/139-database.php
Expand Up @@ -55,14 +55,6 @@
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);
}
Expand Down

0 comments on commit 02620af

Please sign in to comment.