Change all the "new class" by "new Class"
This commit is contained in:
12
src/Auth.php
12
src/Auth.php
@@ -160,7 +160,7 @@ class Auth
|
||||
*/
|
||||
public function authentication ($email, $password)
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No authentication available"), 405);
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ class Auth
|
||||
*/
|
||||
public function getdetails ()
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No getdetails available"), 405);
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ class Auth
|
||||
*/
|
||||
public function changepassword ($oldpassword, $newpassword)
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No password change available"), 405);
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ class Auth
|
||||
*/
|
||||
public function overwritepassword ($email, $newpassword)
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No password overwrite available"), 405);
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ class Auth
|
||||
*/
|
||||
public function listusers ()
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No List User available"), 405);
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ class Auth
|
||||
*/
|
||||
public function logout ()
|
||||
{
|
||||
throw new exception (dgettext ("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No logout method available"), 405);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user