plugins/kolab_auth

Aleksander Machniak machniak at kolabsys.com
Fri Jul 11 10:37:47 CEST 2014


 plugins/kolab_auth/kolab_auth.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a355288360d68e78139d3d448c35ff1fcda7c6ec
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Fri Jul 11 10:37:17 2014 +0200

    Fix so role-based plugins are loaded not required

diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index d9222ac..2b685a7 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -226,7 +226,7 @@ class kolab_auth extends rcube_plugin
 
             if (!empty($role_plugins[$role_dn])) {
                 foreach ((array)$role_plugins[$role_dn] as $plugin) {
-                    $this->require_plugin($plugin);
+                    $this->api->load_plugin($plugin);
                 }
             }
         }




More information about the commits mailing list