diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 08:42:49 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:29:43 +0200 |
commit | 0e58800016419daf3b2d032136415a5fe9d6331f (patch) | |
tree | c842a8c9104b3c9f2ceab2d505fe01a25f7d0dda /apps/user_webdavauth/user_webdavauth.php | |
parent | 52f2e7112ea985203eca16aa787bd75a7cf92194 (diff) | |
download | nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.tar.gz nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.zip |
Whitespace fixes in apps
Diffstat (limited to 'apps/user_webdavauth/user_webdavauth.php')
-rwxr-xr-x | apps/user_webdavauth/user_webdavauth.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php index 71c503f9400..4490b1e4519 100755 --- a/apps/user_webdavauth/user_webdavauth.php +++ b/apps/user_webdavauth/user_webdavauth.php @@ -23,11 +23,11 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { protected $webdavauth_url; - + public function __construct() { $this->webdavauth_url = OC_Config::getValue( "user_webdavauth_url" ); } - + public function createUser() { // Can't create user OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to create users from web frontend using WebDAV user backend',3); @@ -45,14 +45,14 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to change password for users from web frontend using WebDAV user backend',3); return false; } - + public function checkPassword( $uid, $password ) { $url= 'http://'.urlencode($uid).':'.urlencode($password).'@'.$this->webdavauth_url; $headers = get_headers($url); if($headers==false){ OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to connect to WebDAV Url: "'.$this->webdavauth_url.'" ' ,3); - return false; + return false; } $returncode= substr($headers[0], 9, 3); @@ -64,7 +64,7 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { } } - + /* * we donĀ“t know if a user exists without the password. so we have to return false all the time */ @@ -77,7 +77,7 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { */ public function getUsers(){ $returnArray = array(); - + return $returnArray; } } |