lib/kolab_sync.php

Aleksander Machniak machniak at kolabsys.com
Thu Feb 26 10:51:48 CET 2015


 lib/kolab_sync.php |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit cc520b26b76c2362fd5ab06005744fc77bfcd0d0
Author: Aleksander Machniak <alec at alec.pl>
Date:   Thu Feb 26 10:48:53 2015 +0100

    Remove 'startup' hook execution (#4487)
    
    The hook execution caused loading of additional plugins by kolab_auth plugin.
    This is not intended behaviour as all of them are not used here and may
    even not exist under lib/plugins/.

diff --git a/lib/kolab_sync.php b/lib/kolab_sync.php
index ee322a6..65e3a8d 100644
--- a/lib/kolab_sync.php
+++ b/lib/kolab_sync.php
@@ -93,8 +93,6 @@ class kolab_sync extends rcube
      */
     public function run()
     {
-        $this->plugins->exec_hook('startup', array('task' => 'login'));
-
         // when used with (f)cgi no PHP_AUTH* variables are available without defining a special rewrite rule
         if (!isset($_SERVER['PHP_AUTH_USER'])) {
             // "Basic didhfiefdhfu4fjfjdsa34drsdfterrde..."




More information about the commits mailing list