Skip to content

Commit

Permalink
Drop support for old tntnet versions: Query params are now in tntnet …
Browse files Browse the repository at this point in the history
…and not in cxxtools

Removed old code for cxxtools queryparams.
  • Loading branch information
Dieter Hametner committed Feb 10, 2015
1 parent e6e5705 commit d7f6802
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions pages/recordings.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,10 @@ for (recIter = recItems.begin(); recIter != recItems.end(); ++recIter) {
<li class="recording">
<& rec_item_dir name=(recItem->Name()) level=(level) &>
<%cpp>
#if TNT_HAS_QUERYPARAMS
#if TNT_QUERYPARAMS_NO_BOOL
tnt::QueryParams recItemParams(qparam);
#else
tnt::QueryParams recItemParams(qparam, false);
#endif
#else
cxxtools::QueryParams recItemParams(qparam, false);
#endif
for (path_type::const_iterator i = path.begin(); i != path.end(); ++i) {
recItemParams.add("path", *i);
Expand Down
3 changes: 0 additions & 3 deletions tntfeatures.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
// SSL-Support works from tntnet version 1.6.1 onwards.
#define TNT_SSL_SUPPORT (TNTVERSION >= 16100)

// Query params are now in tntnet and not in cxxtools
#define TNT_HAS_QUERYPARAMS (TNTVERSION >= 16060)

// Query params without boolean parameter
#define TNT_QUERYPARAMS_NO_BOOL (TNTVERSION >= 22000)

Expand Down

0 comments on commit d7f6802

Please sign in to comment.