Replace hard-coded username with current session user (still a temporary solution to work outside the Kolab environment)

This commit is contained in:
Thomas Bruederli 2013-03-06 14:20:44 +01:00
parent 19b0fdd999
commit bfd10a9c49

View file

@ -22,8 +22,9 @@ class owncloud extends rcube_plugin
{ {
// requires kolab_auth plugin // requires kolab_auth plugin
if (empty($_SESSION['kolab_uid'])) { if (empty($_SESSION['kolab_uid'])) {
$_SESSION['kolab_uid'] = 'tb'; // temporary:
# return; $_SESSION['kolab_uid'] = $_SESSION['username'];
// return;
} }
$rcmail = rcube::get_instance(); $rcmail = rcube::get_instance();