Bump Chwala version
This commit is contained in:
parent
25d45a258b
commit
207d21e78e
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class kolab_files_engine
|
||||||
private $files_sort_cols = array('name', 'mtime', 'size');
|
private $files_sort_cols = array('name', 'mtime', 'size');
|
||||||
private $sessions_sort_cols = array('name');
|
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_url', $this->url . '/api/');
|
||||||
$this->rc->output->set_env('files_token', $this->get_api_token());
|
$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_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());
|
$this->rc->output->set_env('files_user', $this->rc->get_user_name());
|
||||||
|
|
||||||
if ($_SESSION['kolab_files_caps']['DOCEDIT']) {
|
if ($_SESSION['kolab_files_caps']['DOCEDIT']) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue