@@ -179,7 +179,7 @@ |
||
| 179 | 179 | * |
| 180 | 180 | * @param string $loginName |
| 181 | 181 | * @param string $password |
| 182 | - * @return mixed the User object on success, false otherwise |
|
| 182 | + * @return string|null the User object on success, false otherwise |
|
| 183 | 183 | */ |
| 184 | 184 | public function checkPassword($loginName, $password) { |
| 185 | 185 | $loginName = str_replace("\0", '', $loginName); |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | namespace OCA\DAV\Connector\Sabre; |
| 30 | 30 | |
| 31 | 31 | use OC\Files\View; |
| 32 | -use OCA\DAV\Upload\FutureFile; |
|
| 33 | 32 | use OCP\Files\ForbiddenException; |
| 34 | 33 | use Sabre\DAV\Exception\Forbidden; |
| 35 | 34 | use Sabre\DAV\Exception\NotFound; |