Remove unused argument

This commit is contained in:
Victor Dubiniuk 2014-08-04 21:33:00 +03:00
parent 5c162832f9
commit 667b0034b2

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());