Se arregla code style PMUSER.

This commit is contained in:
Freddy Daniel Rojas Valda
2014-02-06 16:47:36 -04:00
parent 1f2f79e38a
commit 29e43835c6

View File

@@ -223,7 +223,6 @@ class User
if ($form['USR_NEW_PASS'] != $form['USR_CNF_PASS']) { if ($form['USR_NEW_PASS'] != $form['USR_CNF_PASS']) {
throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.\G::LoadTranslation('ID_NEW_PASS_SAME_OLD_PASS')); throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.\G::LoadTranslation('ID_NEW_PASS_SAME_OLD_PASS'));
} }
$form['USR_PASSWORD'] = md5($form['USR_NEW_PASS']); $form['USR_PASSWORD'] = md5($form['USR_NEW_PASS']);
if (!isset($form['USR_CITY'])) { if (!isset($form['USR_CITY'])) {
$form['USR_CITY'] = ''; $form['USR_CITY'] = '';
@@ -428,7 +427,7 @@ class User
$sDescription .= ' - ' . \G::LoadTranslation($sError) . ','; $sDescription .= ' - ' . \G::LoadTranslation($sError) . ',';
break; break;
} }
} }
$sDescription .= '' . \G::LoadTranslation('ID_PLEASE_CHANGE_PASSWORD_POLICY'); $sDescription .= '' . \G::LoadTranslation('ID_PLEASE_CHANGE_PASSWORD_POLICY');
throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.$sDescription); throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.$sDescription);
} }