diff options
author | friendica <info@friendica.com> | 2014-08-17 19:06:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-17 19:06:56 -0700 |
commit | 4a76925787672ede57e0d36c890ffb08b6d32ed4 (patch) | |
tree | e61d21fbde2020027fd0c9dd132c0cb8f998d262 /install | |
parent | de1198ccfe113c848482ba0ba21bc9f24caca8a8 (diff) | |
download | volse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.tar.gz volse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.tar.bz2 volse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.zip |
some more work on realms
Diffstat (limited to 'install')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index bd4e043a0..f7d6441dc 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1122 ); +define( 'UPDATE_VERSION' , 1123 ); /** * @@ -1369,3 +1369,11 @@ ADD INDEX ( `site_realm` )"); } +function update_r1122() { + $r = q("update site set site_realm = '%s' where true", + dbesc(DIRECTORY_REALM) + ); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |