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

@@ -41,7 +41,7 @@ class authsympa extends auth
public function __construct ()
{
if (! class_exists ("SoapClient"))
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"No SOAP PHP library available"), 500);
}
@@ -49,7 +49,7 @@ class authsympa extends auth
public function connect ()
{
if ($this->wsdl === null)
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"No WSDL provided to Sympa auth"), 401);
$this->client = new SoapClient($this->wsdl);
}
@@ -60,14 +60,14 @@ class authsympa extends auth
public function authentication ($email, $password)
{
if ($this->client === null)
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"The SOAP connection is not opened"), 401);
if ($this->list === null)
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"The list to check is not defined"), 401);
$this->authkey = $this->client->login ($email, $password);
if ($this->authkey === null)
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"Can't connect with provided email/password to sympa"),
401);
$this->email = $email;
@@ -81,7 +81,7 @@ class authsympa extends auth
/** Return all the parameters recorded for the authenticate user */
public function getdetails ()
{
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"The details can't be provided by Sympa"), 404);
}
@@ -91,7 +91,7 @@ class authsympa extends auth
@param string $newpassword The new password to be recorded */
public function changepassword ($oldpassword, $newpassword)
{
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"The password can't be change for SYMPA users"),
405);
}