provide choice of using browser geotag

This commit is contained in:
Mike Macgirvin 2010-10-19 17:30:15 -07:00
parent bf727dc3e8
commit 7c9b323e25
3 changed files with 6 additions and 1 deletions

View file

@ -2,7 +2,7 @@
set_time_limit(0); set_time_limit(0);
define ( 'BUILD_ID', 1009 ); define ( 'BUILD_ID', 1010 );
define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
define ( 'EOL', "<br />\r\n" ); define ( 'EOL', "<br />\r\n" );

View file

@ -347,6 +347,7 @@ CREATE TABLE IF NOT EXISTS `user` (
`email` char(255) NOT NULL, `email` char(255) NOT NULL,
`timezone` char(128) NOT NULL, `timezone` char(128) NOT NULL,
`default-location` char(255) NOT NULL, `default-location` char(255) NOT NULL,
`allow_location` tinyint(1) NOT NULL DEFAULT '0',
`theme` char(255) NOT NULL, `theme` char(255) NOT NULL,
`pubkey` text NOT NULL, `pubkey` text NOT NULL,
`prvkey` text NOT NULL, `prvkey` text NOT NULL,

View file

@ -71,4 +71,8 @@ function update_1007() {
function update_1008() { function update_1008() {
q("ALTER TABLE `profile` ADD `with` TEXT NOT NULL AFTER `marital` "); 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` ");
} }