Cosmetics changes : remove ending lines spaces

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-08-31 07:20:24 +00:00
parent 94099866f6
commit a04d3a4f4a
35 changed files with 208 additions and 210 deletions

View File

@@ -125,7 +125,7 @@ class authsql extends auth
throw new Exception (dgettext("domframework",
"Can't change the password if the user is not authenticated"),
500);
$data = $this->db->read (array (array ($this->fieldIdentifier,
$data = $this->db->read (array (array ($this->fieldIdentifier,
$this->details[$this->fieldIdentifier])),
array ($this->fieldIdentifier,
$this->fieldPassword));
@@ -143,7 +143,7 @@ class authsql extends auth
));
//now do the actual hashing
$cryptpassword = crypt ($newpassword, $param);
$rc = $this->db->update ($this->details[$this->fieldIdentifier],
$rc = $this->db->update ($this->details[$this->fieldIdentifier],
array ($this->fieldPassword => $cryptpassword));
if ($rc !== 1)
throw new Exception (dgettext("domframework",
@@ -177,7 +177,7 @@ class authsql extends auth
));
//now do the actual hashing
$cryptpassword = crypt ($newpassword, $param);
$rc = $this->db->update ($email,
$rc = $this->db->update ($email,
array ($this->fieldPassword => $cryptpassword));
if ($rc !== 1)
throw new Exception (dgettext("domframework","Can't change the password"),