Removed notice on settings page.
This commit is contained in:
parent
abf67dd366
commit
c43a853bbc
1 changed files with 0 additions and 4 deletions
|
@ -170,10 +170,6 @@ $getUserRoles = db_prepare('
|
||||||
$getUserRoles->bindValue('user_id', user_session_current('user_id'));
|
$getUserRoles->bindValue('user_id', user_session_current('user_id'));
|
||||||
$userRoles = $getUserRoles->execute() ? $getUserRoles->fetchAll(PDO::FETCH_ASSOC) : [];
|
$userRoles = $getUserRoles->execute() ? $getUserRoles->fetchAll(PDO::FETCH_ASSOC) : [];
|
||||||
|
|
||||||
if (empty($errors)) { // delete this in 2019
|
|
||||||
$errors[] = 'A few of the elements on this page have been moved to the on-profile editor. To find them, go to your profile and hit the "Edit Profile" button below your avatar.';
|
|
||||||
}
|
|
||||||
|
|
||||||
echo tpl_render('user.settings', [
|
echo tpl_render('user.settings', [
|
||||||
'errors' => $errors,
|
'errors' => $errors,
|
||||||
'disable_account_options' => $disableAccountOptions,
|
'disable_account_options' => $disableAccountOptions,
|
||||||
|
|
Loading…
Add table
Reference in a new issue