Branch 'ticket/3416' - plugins/kolab_auth

Daniel Hoffend hoffend at kolabsys.com
Sun Feb 15 02:00:23 CET 2015


 plugins/kolab_auth/kolab_auth.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5de0c538e84ea23afdffcba6b7299b8ccfa53b75
Author: Daniel Hoffend <dh at dotlan.net>
Date:   Sun Feb 15 02:00:17 2015 +0100

    codestyle fixes

diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index a26bc18..ef280a9 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -193,7 +193,7 @@ class kolab_auth extends rcube_plugin
 
         $dn_settings = $rcmail->config->get('kolab_auth_dn_settings');
 
-        if(empty($dn_plugins) && empty($dn_settings)) {
+        if (empty($dn_plugins) && empty($dn_settings)) {
             return;
         }
 
@@ -221,7 +221,7 @@ class kolab_auth extends rcube_plugin
 
         // go apply settings
         if (is_array($dn_settings)) {
-            foreach($dn_settings AS $dn => $settings) {
+            foreach ($dn_settings AS $dn => $settings) {
                 // contine foreach of settings are empty
                 if (empty($settings) || !is_array($settings)) {
                     continue;
@@ -238,7 +238,7 @@ class kolab_auth extends rcube_plugin
 
         // load plugins if user dn matches search dn
         if (is_array($dn_plugins)) {
-            foreach($dn_plugins AS $dn => $plugins) {
+            foreach ($dn_plugins AS $dn => $plugins) {
                 // the end of the user's dn doesn't match the search dn
                 if (substr($_SESSION['kolab_dn'],strlen($dn)*-1) != $dn) {
                     continue;




More information about the commits mailing list