From a8db233ffe3dae629bc650318e45b41386ea99ca Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 29 Jul 2009 17:32:22 -0600 Subject: [PATCH] This is what IMP::initialize() is for --- imp/lib/api.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); } -- 2.11.0