summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_reminder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_reminder.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_reminder.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp
index 55443210fb..261b6b97aa 100644
--- a/plugins/UserInfoEx/src/svc_reminder.cpp
+++ b/plugins/UserInfoEx/src/svc_reminder.cpp
@@ -645,7 +645,7 @@ static int OnContactSettingChanged(MCONTACT hContact, DBCONTACTWRITESETTING* pdb
CEvent evt;
MTime now;
now.GetLocalTime();
- if (!mir_strcmp(pdbcws->szModule, SvcReminderGetMyBirthdayModule())) {
+ if (!mir_strcmp(pdbcws->szModule, USERINFO)) {
uint16_t LastAnswer = IDNONE;
CheckContact(hContact, now, evt, FALSE, &LastAnswer);
}
@@ -713,19 +713,6 @@ static INT_PTR BackupBirthdayService(WPARAM hContact, LPARAM lParam)
return 0;
}
-/**
-* This function returns a constant pointer to the module the date should be saved to
-*
-* @param none
-*
-* @return module to write birthday information to, MOD_MBIRTHDAY by default
-**/
-
-LPCSTR SvcReminderGetMyBirthdayModule()
-{
- return ((g_plugin.getByte(SET_REMIND_BIRTHMODULE, DEFVAL_REMIND_BIRTHMODULE) == 1) ? USERINFO : MOD_MBIRTHDAY);
-}
-
/***********************************************************************************************************
* timer stuff
***********************************************************************************************************/