aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-19 17:30:15 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-19 17:30:15 -0700
commit7c9b323e250316cde39c2856b648bca7b2eb7b18 (patch)
tree3b7fe749b9fb7080b0c09be5e498f507af6656b9
parentbf727dc3e8e9159e59bded135aaf3f790306e6e0 (diff)
downloadvolse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.tar.gz
volse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.tar.bz2
volse-hubzilla-7c9b323e250316cde39c2856b648bca7b2eb7b18.zip
provide choice of using browser geotag
-rw-r--r--boot.php2
-rw-r--r--database.sql1
-rw-r--r--update.php4
3 files changed, 6 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 5c2d74b44..5070f7bac 100644
--- a/boot.php
+++ b/boot.php
@@ -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