nhttpd: remove unused mod_testhook

Origin commit data
------------------
Branch: ni/coolstream
Commit: ed68d9dfc6
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-05 (Tue, 05 Sep 2017)

Origin message was:
------------------
- nhttpd: remove unused mod_testhook

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-05 08:49:02 +02:00
parent b30533cb99
commit a8fbb121b4
6 changed files with 6 additions and 51 deletions

View File

@@ -250,11 +250,6 @@ void Cyhttpd::hooks_attach() {
CyhookHandler::attach(auth);
#endif
#ifdef Y_CONFIG_USE_TESTHOOK
testhook = new CTesthook();
CyhookHandler::attach(testhook);
#endif
#ifdef CONFIG_SYSTEM_TUXBOX
NeutrinoAPI = new CNeutrinoAPI();
CyhookHandler::attach(NeutrinoAPI->NeutrinoYParser);
@@ -288,11 +283,6 @@ void Cyhttpd::hooks_detach() {
delete auth;
#endif
#ifdef Y_CONFIG_USE_TESTHOOK
CyhookHandler::detach(testhook);
delete testhook;
#endif
#ifdef CONFIG_SYSTEM_TUXBOX
CyhookHandler::detach(NeutrinoAPI->NeutrinoYParser);
#else