|
|
@ -92,7 +92,7 @@ class SessionController extends Controller{
|
|
|
|
if ($view->file_put_contents($path, $content)){
|
|
|
|
if ($view->file_put_contents($path, $content)){
|
|
|
|
//Document saved successfully. Cleaning session data
|
|
|
|
//Document saved successfully. Cleaning session data
|
|
|
|
// temporary workaround for https://github.com/owncloud/documents/issues/63
|
|
|
|
// temporary workaround for https://github.com/owncloud/documents/issues/63
|
|
|
|
//Db_Session::cleanUp($esId);
|
|
|
|
Db_Session::cleanUp($esId);
|
|
|
|
$view->touch($path);
|
|
|
|
$view->touch($path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\OCP\JSON::success();
|
|
|
|
\OCP\JSON::success();
|
|
|
|