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
remotes/origin/stable5
Björn Schießle 13 years ago
parent 0ed635240a
commit d2c5f9bec7
  1. 2
      lib/app.php

@ -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…
Cancel
Save