aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin/Account_edit.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-09-29 00:17:55 +0200
committerM. Dent <dentm42@gmail.com>2018-09-29 00:17:55 +0200
commitba4a8aa7623038fd9926b58d826e7cb733176b48 (patch)
treeb714359bdc9c056376c6f3780e8edb0e066bf73f /Zotlabs/Module/Admin/Account_edit.php
parent2904e58a9fea6441202d1f9f7a3304a2d2b1429c (diff)
parent5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34 (diff)
downloadvolse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.tar.gz
volse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.tar.bz2
volse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.zip
Merge branch 'remove-servicelevel-logic' into 'dev'
Remove servicelevel logic See merge request hubzilla/core!1291
Diffstat (limited to 'Zotlabs/Module/Admin/Account_edit.php')
-rw-r--r--Zotlabs/Module/Admin/Account_edit.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Admin/Account_edit.php b/Zotlabs/Module/Admin/Account_edit.php
index 6dfadf183..0300fb10c 100644
--- a/Zotlabs/Module/Admin/Account_edit.php
+++ b/Zotlabs/Module/Admin/Account_edit.php
@@ -31,7 +31,7 @@ class Account_edit {
}
$service_class = trim($_REQUEST['service_class']);
- $account_level = intval(trim($_REQUEST['account_level']));
+ $account_level = 5;
$account_language = trim($_REQUEST['account_language']);
$r = q("update account set account_service_class = '%s', account_level = %d, account_language = '%s'
@@ -68,7 +68,6 @@ class Account_edit {
'$title' => t('Account Edit'),
'$pass1' => [ 'pass1', t('New Password'), ' ','' ],
'$pass2' => [ 'pass2', t('New Password again'), ' ','' ],
- '$account_level' => [ 'account_level', t('Technical skill level'), $x[0]['account_level'], '', \Zotlabs\Lib\Techlevels::levels() ],
'$account_language' => [ 'account_language' , t('Account language (for emails)'), $x[0]['account_language'], '', language_list() ],
'$service_class' => [ 'service_class', t('Service class'), $x[0]['account_service_class'], '' ],
'$submit' => t('Submit'),
@@ -81,4 +80,4 @@ class Account_edit {
}
-} \ No newline at end of file
+}