diff options
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 3d0e5b00d..9fd362fff 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1181 ); +define( 'UPDATE_VERSION' , 1183 ); /** * @@ -2429,3 +2429,18 @@ function update_r1180() { return UPDATE_FAILED; } +function update_r1181() { + if(\Zotlabs\Lib\System::get_server_role() == 'pro') { + q("update account set account_level = 5 where true"); + } + return UPDATE_SUCCESS; +} + +function update_r1182() { + + $r1 = q("alter table site add site_version varchar(32) not null default '' "); + + if($r1) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |