Fix initialization of OC_Filesystem setup from DAV

This commit is contained in:
Bart Visscher 2012-06-22 17:16:34 +02:00
parent e943f6c0c8
commit 60f558cdbb

View file

@ -33,7 +33,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
protected function validateUserPass($username, $password){
OC_Util::setUpFS();//login hooks may need early access to the filesystem
if(OC_User::login($username,$password)){
OC_Util::setUpFS();
OC_Util::setUpFS($username);
return true;
}
else{