diff options
author | friendica <info@friendica.com> | 2013-10-30 01:58:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-30 01:58:45 -0700 |
commit | 2035a5dd763f7524cdc1a678b0e8dbca94f270f5 (patch) | |
tree | 5109b71ad33146e6f99ef79aaca3a9c7844b3cd6 /install/update.php | |
parent | 8da4da37ccbcc6921f97eeb0c9cd3c23567bd761 (diff) | |
download | volse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.tar.gz volse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.tar.bz2 volse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.zip |
allow zot public providers to list their location, as a non US-based server could be a strong selling point.
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 07a773f68..53d487f91 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1079 ); +define( 'UPDATE_VERSION' , 1080 ); /** * @@ -881,3 +881,10 @@ function update_r1078() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1079() { + $r = q("ALTER TABLE `site` ADD `site_location` CHAR( 255 ) NOT NULL DEFAULT ''"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |