diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-19 17:30:15 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-19 17:30:15 -0700 |
commit | 7c9b323e250316cde39c2856b648bca7b2eb7b18 (patch) | |
tree | 3b7fe749b9fb7080b0c09be5e498f507af6656b9 | |
parent | bf727dc3e8e9159e59bded135aaf3f790306e6e0 (diff) | |
download | volse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.tar.gz volse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.tar.bz2 volse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.zip |
provide choice of using browser geotag
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | database.sql | 1 | ||||
-rw-r--r-- | update.php | 4 |
3 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'BUILD_ID', 1009 ); +define ( 'BUILD_ID', 1010 ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "<br />\r\n" ); diff --git a/database.sql b/database.sql index d256fc659..7526be41d 100644 --- a/database.sql +++ b/database.sql @@ -347,6 +347,7 @@ CREATE TABLE IF NOT EXISTS `user` ( `email` char(255) NOT NULL, `timezone` char(128) NOT NULL, `default-location` char(255) NOT NULL, + `allow_location` tinyint(1) NOT NULL DEFAULT '0', `theme` char(255) NOT NULL, `pubkey` text NOT NULL, `prvkey` text NOT NULL, diff --git a/update.php b/update.php index 91883b716..9f122f53e 100644 --- a/update.php +++ b/update.php @@ -71,4 +71,8 @@ function update_1007() { function update_1008() { q("ALTER TABLE `profile` ADD `with` TEXT NOT NULL AFTER `marital` "); +} + +function update_1009() { + q("ALTER TABLE `user` ADD `allow_location` TINYINT( 1 ) NOT NULL AFTER `default-location` "); }
\ No newline at end of file |