Change all the "new class" by "new Class"

This commit is contained in:
2021-05-07 13:10:37 +02:00
parent c8d275be31
commit c09fa961cd
39 changed files with 430 additions and 432 deletions

View File

@@ -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);
}
}