diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
commit | e412759d7e551e3fc4dc4be6e1fae1cd4f308868 (patch) | |
tree | 00ed12238ba8b3735ddf95cf9e79c48d7c411c78 /plugins/UserInfoEx | |
parent | 0f95cbb4a9f1c9a613dccb9d53f5ddb50a8cadd7 (diff) |
no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch
since now all Myranda plugins are binary incompatible with Miranda's
git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/init.cpp | 1 | ||||
-rw-r--r-- | plugins/UserInfoEx/svc_email.cpp | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/plugins/UserInfoEx/init.cpp b/plugins/UserInfoEx/init.cpp index b7a757be19..95153823c1 100644 --- a/plugins/UserInfoEx/init.cpp +++ b/plugins/UserInfoEx/init.cpp @@ -62,7 +62,6 @@ static PLUGININFOEX pluginInfo = { __COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- DEFMOD_UIUSERINFO,
MIID_UIUSERINFOEX
};
diff --git a/plugins/UserInfoEx/svc_email.cpp b/plugins/UserInfoEx/svc_email.cpp index d1a8ba02d6..3e11ddb763 100644 --- a/plugins/UserInfoEx/svc_email.cpp +++ b/plugins/UserInfoEx/svc_email.cpp @@ -386,12 +386,7 @@ VOID SvcEMailOnModulesLoaded() **/
VOID SvcEMailLoadModule()
{
- if (DB::Setting::GetByte(SET_EXTENDED_EMAILSERVICE, TRUE))
- {
- // prevent default email module from loading
- PINT_PTR disableDefaultModule = (PINT_PTR)CallService(MS_PLUGINS_GETDISABLEDEFAULTARRAY, 0, 0);
- disableDefaultModule[DEFMOD_SREMAIL] = TRUE;
-
+ if (DB::Setting::GetByte(SET_EXTENDED_EMAILSERVICE, TRUE)) {
// create own email send command
if (!myDestroyServiceFunction(MS_EMAIL_SENDEMAIL))
myCreateServiceFunction(MS_EMAIL_SENDEMAIL, MenuCommand);
|