Merge pull request #323 from owncloud/remove-extra-parameter
Remove unused argument
This commit is contained in:
commit
ba2155433b
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user