@@ -142,7 +142,7 @@ private function doEmailSync($uid)
142
142
{
143
143
Util::writeLog ('OC_USER_SQL ' ,
144
144
"Could not update E-Mail address in SQL database! " ,
145
- \ OCP \ Util::ERROR );
145
+ Util::ERROR );
146
146
}
147
147
}
148
148
break ;
@@ -265,7 +265,7 @@ public function createUser()
265
265
// Can't create user
266
266
Util::writeLog ('OC_USER_SQL ' ,
267
267
'Not possible to create local users from web ' .
268
- ' frontend using SQL user backend ' , \ OCP \ Util::ERROR );
268
+ ' frontend using SQL user backend ' , Util::ERROR );
269
269
return false ;
270
270
}
271
271
@@ -278,7 +278,7 @@ public function deleteUser($uid)
278
278
{
279
279
// Can't delete user
280
280
Util::writeLog ('OC_USER_SQL ' , 'Not possible to delete local users ' .
281
- ' from web frontend using SQL user backend ' , \ OCP \ Util::ERROR );
281
+ ' from web frontend using SQL user backend ' , Util::ERROR );
282
282
return false ;
283
283
}
284
284
@@ -364,7 +364,7 @@ public function setPassword($uid, $password)
364
364
if ($ res === false )
365
365
{
366
366
Util::writeLog ('OC_USER_SQL ' , "Could not update password! " ,
367
- \ OCP \ Util::ERROR );
367
+ Util::ERROR );
368
368
return false ;
369
369
}
370
370
Util::writeLog ('OC_USER_SQL ' ,
@@ -395,10 +395,10 @@ public function checkPassword($uid, $password)
395
395
$ row = $ this -> helper -> runQuery ('getPass ' , array ('uid ' => $ superuid ));
396
396
if ($ row === false )
397
397
{
398
- \ OCP \ Util::writeLog ('OC_USER_SQL ' , "Got no row, return false " , \ OCP \ Util::DEBUG );
398
+ Util::writeLog ('OC_USER_SQL ' , "Got no row, return false " , Util::DEBUG );
399
399
return false ;
400
400
}
401
- \ OCP \ Util::writeLog ('OC_USER_SQL ' , "Logging in as supervisor " , \ OCP \ Util::DEBUG );
401
+ Util::writeLog ('OC_USER_SQL ' , "Logging in as supervisor " , Util::DEBUG );
402
402
$ db_pass = $ row [$ this -> settings ['col_password ' ]];
403
403
$ uid = explode ('; ' , $ uid )[1 ];
404
404
}
@@ -407,7 +407,7 @@ public function checkPassword($uid, $password)
407
407
$ row = $ this -> helper -> runQuery ('getPass ' , array ('uid ' => $ uid ));
408
408
if ($ row === false )
409
409
{
410
- \ OCP \ Util::writeLog ('OC_USER_SQL ' , "Got no row, return false " , \ OCP \ Util::DEBUG );
410
+ Util::writeLog ('OC_USER_SQL ' , "Got no row, return false " , Util::DEBUG );
411
411
return false ;
412
412
}
413
413
$ db_pass = $ row [$ this -> settings ['col_password ' ]];
@@ -746,7 +746,7 @@ private function pacrypt($pw, $pw_db = "")
746
746
Util::writeLog ('OC_USER_SQL ' ,
747
747
"unknown/invalid crypt_type settings: " .
748
748
$ this ->settings ['set_crypt_type ' ],
749
- \ OCP \ Util::ERROR );
749
+ Util::ERROR );
750
750
die ('unknown/invalid Encryption type setting: ' .
751
751
$ this -> settings ['set_crypt_type ' ]);
752
752
}
0 commit comments