diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-29 13:50:02 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-29 13:50:02 -0700 |
commit | 4fcfcc81172ebdfa4a27d3bca94bffe97356f600 (patch) | |
tree | 78a53b004556fa1064e9213008e68d897a296fe2 /Zotlabs/Module/Setup.php | |
parent | b15a5f03e61eeef2086d87f497464b00ada3798e (diff) | |
download | volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.gz volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.bz2 volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.zip |
start deprecation of server_role
Diffstat (limited to 'Zotlabs/Module/Setup.php')
-rw-r--r-- | Zotlabs/Module/Setup.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index aa28204d3..e5b54cc5f 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -73,9 +73,6 @@ class Setup extends \Zotlabs\Web\Controller { $phpath = trim($_POST['phpath']); $adminmail = trim($_POST['adminmail']); $siteurl = trim($_POST['siteurl']); - $server_role = trim($_POST['server_role']); - if(! $server_role) - $server_role = 'standard'; // $siteurl should not have a trailing slash @@ -103,9 +100,6 @@ class Setup extends \Zotlabs\Web\Controller { $timezone = trim($_POST['timezone']); $adminmail = trim($_POST['adminmail']); $siteurl = trim($_POST['siteurl']); - $server_role = trim($_POST['server_role']); - if(! $server_role) - $server_role = 'standard'; if($siteurl != z_root()) { $test = z_fetch_url($siteurl."/setup/testrewrite"); @@ -134,7 +128,7 @@ class Setup extends \Zotlabs\Web\Controller { '$dbpass' => $dbpass, '$dbdata' => $dbdata, '$dbtype' => $dbtype, - '$server_role' => $server_role, + '$server_role' => 'pro', '$timezone' => $timezone, '$siteurl' => $siteurl, '$site_id' => random_string(), |