diff --git a/src/Filter.cpp b/src/Filter.cpp index 9fbd69e07..7e605fe82 100644 --- a/src/Filter.cpp +++ b/src/Filter.cpp @@ -208,26 +208,6 @@ bool Filter::hasFilter () return false; } -//////////////////////////////////////////////////////////////////////////////// -bool Filter::hasModifications () -{ - for (auto& a : context.cli2._args) - if (a.hasTag ("MODIFICATION")) - return true; - - return false; -} - -//////////////////////////////////////////////////////////////////////////////// -bool Filter::hasMiscellaneous () -{ - for (auto& a : context.cli2._args) - if (a.hasTag ("MISCELLANEOUS")) - return true; - - return false; -} - //////////////////////////////////////////////////////////////////////////////// // If the filter contains no 'or', 'xor' or 'not' operators, and only includes // status values 'pending', 'waiting' or 'recurring', then the filter is diff --git a/src/Filter.h b/src/Filter.h index d918fe5fa..9a652636b 100644 --- a/src/Filter.h +++ b/src/Filter.h @@ -43,8 +43,6 @@ public: void subset (const std::vector &, std::vector &); void subset (std::vector &); bool hasFilter (); - bool hasModifications (); - bool hasMiscellaneous (); bool pendingOnly (); void safety (); void disableSafety ();