projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b421322
)
This is what IMP::initialize() is for
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 29 Jul 2009 23:32:22 +0000
(17:32 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 30 Jul 2009 00:44:51 +0000
(18:44 -0600)
imp/lib/api.php
patch
|
blob
|
history
diff --git
a/imp/lib/api.php
b/imp/lib/api.php
index
c8a979c
..
be91a97
100644
(file)
--- 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();
}