Merge pull request #323 from owncloud/remove-extra-parameter

Remove unused argument
This commit is contained in:
VicDeo 2014-08-04 21:42:00 +03:00
commit ba2155433b

View File

@ -23,7 +23,7 @@ class SessionController extends Controller{
try {
$token = Helper::getArrayValueByKey($args, 'token');
$file = File::getByShareToken($token);
$session = Db\Session::start($uid, $file, true);
$session = Db\Session::start($uid, $file);
\OCP\JSON::success($session);
} catch (\Exception $e){
Helper::warnLog('Starting a session failed. Reason: ' . $e->getMessage());