diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-15 19:15:47 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-15 19:15:47 -0400 |
commit | f2dda646ecf1d11bf88c085d1174d3c147f799b1 (patch) | |
tree | c86f59fcca3a84413d77c325be433c4c5ea862e2 /install/update.php | |
parent | 98484f0def82493ff9d45405dadefd141a1b32ba (diff) | |
parent | 47fc0c79588d55a207dc39ae8062ec55382e2564 (diff) | |
download | volse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.tar.gz volse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.tar.bz2 volse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 908f60498..e47ebf07f 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1176 ); +define( 'UPDATE_VERSION' , 1177 ); /** * @@ -2254,3 +2254,16 @@ function update_r1175() { return UPDATE_FAILED; } + + +function update_r1176() { + + $r = q("select * from item_id where true"); + if($r) { + foreach($r as $rr) { + \Zotlabs\Lib\IConfig::Set($rr['iid'],'system',$rr['service'],$rr['sid'],true); + } + } + return UPDATE_SUCCESS; + +}
\ No newline at end of file |