summaryrefslogtreecommitdiff
path: root/plugins/owncloud
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-03-06 13:20:44 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-03-06 13:20:44 (GMT)
commitbfd10a9c4953733964c07789b2bbd98ae8ac7a4b (patch)
tree61fc06a12f2668c7ff097e7e3767592bacc0e5fc /plugins/owncloud
parent19b0fdd999e285ac48a77822107ce43389aedd80 (diff)
downloadroundcubemail-plugins-kolab-bfd10a9c4953733964c07789b2bbd98ae8ac7a4b.tar.gz
Replace hard-coded username with current session user (still a temporary solution to work outside the Kolab environment)
Diffstat (limited to 'plugins/owncloud')
-rw-r--r--plugins/owncloud/owncloud.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/owncloud/owncloud.php b/plugins/owncloud/owncloud.php
index f48dca9..d8cbbf2 100644
--- a/plugins/owncloud/owncloud.php
+++ b/plugins/owncloud/owncloud.php
@@ -22,8 +22,9 @@ class owncloud extends rcube_plugin
{
// requires kolab_auth plugin
if (empty($_SESSION['kolab_uid'])) {
- $_SESSION['kolab_uid'] = 'tb';
- # return;
+ // temporary:
+ $_SESSION['kolab_uid'] = $_SESSION['username'];
+ // return;
}
$rcmail = rcube::get_instance();