From 207d21e78ec9f3c7bb1f4321aed5a6e1e9f3aabe Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 18 Oct 2018 11:18:01 +0000 Subject: [PATCH] Bump Chwala version --- plugins/kolab_files/lib/kolab_files_engine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php index a9594dfd..d88ab97f 100644 --- a/plugins/kolab_files/lib/kolab_files_engine.php +++ b/plugins/kolab_files/lib/kolab_files_engine.php @@ -32,7 +32,7 @@ class kolab_files_engine private $files_sort_cols = array('name', 'mtime', 'size'); private $sessions_sort_cols = array('name'); - const API_VERSION = 2; + const API_VERSION = 4; /** @@ -143,7 +143,7 @@ class kolab_files_engine $this->rc->output->set_env('files_url', $this->url . '/api/'); $this->rc->output->set_env('files_token', $this->get_api_token()); $this->rc->output->set_env('files_caps', $_SESSION['kolab_files_caps']); - $this->rc->output->set_env('files_api_version', $_SESSION['kolab_files_caps']['API_VERSION'] ?: 3); + $this->rc->output->set_env('files_api_version', $_SESSION['kolab_files_caps']['VERSION'] ?: 3); $this->rc->output->set_env('files_user', $this->rc->get_user_name()); if ($_SESSION['kolab_files_caps']['DOCEDIT']) {