fix error message, add "appid" to the output to know which app caused the error if OC_App::getStorage() fails.

Port of approved patch for stable45: https://github.com/owncloud/core/pull/1222
This commit is contained in:
Björn Schießle 2013-01-18 15:14:42 +01:00
parent 0ed635240a
commit d2c5f9bec7
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ class OC_App{
}
return new OC_FilesystemView('/'.OC_User::getUser().'/'.$appid);
}else{
OC_Log::write('core', 'Can\'t get app storage, app, user not logged in', OC_Log::ERROR);
OC_Log::write('core', 'Can\'t get app storage, app '.$appid.', user not logged in', OC_Log::ERROR);
return false;
}
}else{