aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings/Account.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
commit5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34 (patch)
treeb714359bdc9c056376c6f3780e8edb0e066bf73f /Zotlabs/Module/Settings/Account.php
parent2904e58a9fea6441202d1f9f7a3304a2d2b1429c (diff)
downloadvolse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.gz
volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.bz2
volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.zip
Remove servicelevel logic
Diffstat (limited to 'Zotlabs/Module/Settings/Account.php')
-rw-r--r--Zotlabs/Module/Settings/Account.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/Zotlabs/Module/Settings/Account.php b/Zotlabs/Module/Settings/Account.php
index 9643c5958..b40f516ca 100644
--- a/Zotlabs/Module/Settings/Account.php
+++ b/Zotlabs/Module/Settings/Account.php
@@ -12,7 +12,6 @@ class Account {
$errs = array();
$email = ((x($_POST,'email')) ? trim(notags($_POST['email'])) : '');
- $techlevel = ((array_key_exists('techlevel',$_POST)) ? intval($_POST['techlevel']) : 0);
$account = \App::get_account();
if($email != $account['account_email']) {
@@ -32,13 +31,6 @@ class Account {
$errs[] = t('System failure storing new email. Please try again.');
}
}
- if($techlevel != $account['account_level']) {
- $r = q("update account set account_level = %d where account_id = %d",
- intval($techlevel),
- intval($account['account_id'])
- );
- info( t('Technical skill level updated') . EOL);
- }
if($errs) {
foreach($errs as $err)
@@ -101,11 +93,6 @@ class Account {
$email = \App::$account['account_email'];
- $techlevels = \Zotlabs\Lib\Techlevels::levels();
-
- $def_techlevel = \App::$account['account_level'];
- $techlock = get_config('system','techlevel_lock');
-
$tpl = get_markup_template("settings_account.tpl");
$o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_account"),
@@ -113,8 +100,6 @@ class Account {
'$origpass' => array('origpass', t('Current Password'), ' ',''),
'$password1'=> array('npassword', t('Enter New Password'), '', ''),
'$password2'=> array('confirm', t('Confirm New Password'), '', t('Leave password fields blank unless changing')),
- '$techlevel' => [ 'techlevel', t('Your technical skill level'), $def_techlevel, t('Used to provide a member experience and additional features consistent with your comfort level'), $techlevels ],
- '$techlock' => $techlock,
'$submit' => t('Submit'),
'$email' => array('email', t('Email Address:'), $email, ''),
'$removeme' => t('Remove Account'),