]> git.mxchange.org Git - friendica.git/commitdiff
provide choice of using browser geotag
authorMike Macgirvin <mike@macgirvin.com>
Wed, 20 Oct 2010 00:30:15 +0000 (17:30 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Wed, 20 Oct 2010 00:30:15 +0000 (17:30 -0700)
boot.php
database.sql
update.php

index 5c2d74b445d5f9a05b43a477a1f7fece9c622e4f..5070f7bac6be23d35649ee7196ae5ed7319d04ce 100644 (file)
--- 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"     );
index d256fc65916dcab15708e1b3df95b208e0f55be1..7526be41d1d0c876a1e1dcd08faec0c355b1cdbc 100644 (file)
@@ -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,
index 91883b716cc6298f3e12ec741fbdd54d44b96cf0..9f122f53e0e2d854538a59c753512f84af41de10 100644 (file)
@@ -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