plugins/owncloud

Thomas Brüderli bruederli at kolabsys.com
Wed Mar 6 14:20:53 CET 2013


 plugins/owncloud/owncloud.php |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit bfd10a9c4953733964c07789b2bbd98ae8ac7a4b
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Wed Mar 6 14:20:44 2013 +0100

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

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();





More information about the commits mailing list