adding space between) and {

This commit is contained in:
Thomas Mueller
2012-09-07 15:21:03 +02:00
parent 918081f707
commit ccc1960de7
6 changed files with 25 additions and 25 deletions

View File

@@ -9,7 +9,7 @@
class OC_User_IMAP extends OC_User_Backend{
private $mailbox;
public function __construct($mailbox){
public function __construct($mailbox) {
$this->mailbox=$mailbox;
}
@@ -21,11 +21,11 @@ class OC_User_IMAP extends OC_User_Backend{
*
* Check if the password is correct without logging in the user
*/
public function checkPassword($uid, $password){
public function checkPassword($uid, $password) {
$mbox = @imap_open($this->mailbox, $uid, $password);
imap_errors();
imap_alerts();
if($mbox){
if($mbox) {
imap_close($mbox);
return $uid;
}else{
@@ -33,7 +33,7 @@ class OC_User_IMAP extends OC_User_Backend{
}
}
public function userExists($uid){
public function userExists($uid) {
return true;
}
}