provide techlevels in the pro server role. Should have no visible effect on other roles.

This commit is contained in:
redmatrix
2016-08-31 17:49:22 -07:00
parent e9462ba145
commit ea0be8ea1a
12 changed files with 81 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1181 );
define( 'UPDATE_VERSION' , 1182 );
/**
*
@@ -2429,3 +2429,10 @@ 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;
}