Skip to content

Commit 4fef318

Browse files
committed
Removes method isDisruptive from Action class
1 parent d923c5e commit 4fef318

File tree

5 files changed

+764
-769
lines changed

5 files changed

+764
-769
lines changed

headers/modsecurity/actions/action.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@ class Action {
7575
}
7676

7777

78-
virtual bool isDisruptive() {
79-
return false;
80-
}
81-
82-
8378
const std::string *getName() const noexcept {
8479
return &m_name;
8580
}

src/actions/disruptive/disruptive_action.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ namespace disruptive {
3131

3232
class ActionDisruptive : public ActionAllowedAsSecDefaultAction {
3333
public:
34-
bool isDisruptive() override {
35-
return true;
36-
}
3734
};
3835

3936

0 commit comments

Comments
 (0)