Bug 305434 LDAP Prefs Service needs revising. Separate out the ldif migrate prefs function. r=bienvenu,sr=dmose

git-svn-id: svn://10.0.0.236/trunk@184041 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugzilla%standard8.demon.co.uk
2005-11-02 19:22:37 +00:00
parent b58c419274
commit 3cf279ff50
9 changed files with 126 additions and 96 deletions

View File

@@ -134,7 +134,10 @@ function InitializeGlobalVariables()
try {
gLDAPPrefsService = gLDAPPrefsService
.getService(Components.interfaces.nsILDAPPrefsService);
} catch (ex) {dump ("ERROR: Cannot get the LDAP prefs service\n" + ex + "\n");}
} catch (ex) {Components.utils.reportError("ERROR: Cannot get the LDAP prefs service\n" + ex + "\n");}
if (gLDAPPrefsService) {
gLDAPPrefsService.migratePrefsIfNeeded();
}
}
gMsgCompose = null;