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:
parent
0ed635240a
commit
d2c5f9bec7
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue