From: Michael M Slusarz Date: Wed, 29 Jul 2009 23:32:22 +0000 (-0600) Subject: This is what IMP::initialize() is for X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a8db233ffe3dae629bc650318e45b41386ea99ca;p=horde.git This is what IMP::initialize() is for --- diff --git a/imp/lib/api.php b/imp/lib/api.php index c8a979c99..be91a973d 100644 --- a/imp/lib/api.php +++ b/imp/lib/api.php @@ -694,13 +694,7 @@ function _imp_authTransparent() * here or else things will fail in IMP_Auth. */ $GLOBALS['imp_authentication'] = 'none'; require_once dirname(__FILE__) . '/base.php'; - if (!isset($GLOBALS['imp_imap'])) { - $GLOBALS['imp_imap'] = new IMP_Imap(); - } - if (!isset($GLOBALS['imp_search'])) { - $GLOBALS['imp_search'] = new IMP_Search(); - } - + IMP::initialize(); return IMP_Auth::transparent(); }