summaryrefslogtreecommitdiff
path: root/src/core/stdhelp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdhelp')
-rw-r--r--src/core/stdhelp/commonheaders.h2
-rw-r--r--src/core/stdhelp/help.cpp12
2 files changed, 0 insertions, 14 deletions
diff --git a/src/core/stdhelp/commonheaders.h b/src/core/stdhelp/commonheaders.h
index df2d455fbd..779db1f96c 100644
--- a/src/core/stdhelp/commonheaders.h
+++ b/src/core/stdhelp/commonheaders.h
@@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_findadd.h>
#include <m_file.h>
#include <m_email.h>
-//#include <m_awaymsg.h>
#include <m_idle.h>
#include <m_ignore.h>
#include <m_icolib.h>
#include <m_modernopt.h>
-#include <m_help.h>
#include <m_timezones.h>
#include "version.h"
diff --git a/src/core/stdhelp/help.cpp b/src/core/stdhelp/help.cpp
index 4440aece1f..654b9fc255 100644
--- a/src/core/stdhelp/help.cpp
+++ b/src/core/stdhelp/help.cpp
@@ -51,15 +51,6 @@ static INT_PTR WebsiteCommand(WPARAM, LPARAM)
return 0;
}
-static int BugCommandEvent(WPARAM wParam, LPARAM lParam)
-{
- char *szUrl = (char*)lParam;
- if (szUrl)
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
-
- return 0;
-}
-
static INT_PTR BugCommand(WPARAM, LPARAM)
{
NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://bugs.miranda-ng.org");
@@ -82,9 +73,6 @@ int LoadHelpModule(void)
CreateServiceFunction("Help/WebsiteCommand", WebsiteCommand);
CreateServiceFunction("Help/BugCommand", BugCommand);
- hBugEvent = CreateHookableEvent(ME_HELP_BUGREPORT);
- SetHookDefaultForHookableEvent(hBugEvent, BugCommandEvent);
-
CLISTMENUITEM mi = { sizeof(mi) };
mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_MIRANDA);
mi.pszPopupName = LPGEN("&Help");