mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Removes init from SetVar
This commit is contained in:
parent
0f1d3bfc3e
commit
d3ba2318d6
@ -37,11 +37,6 @@ namespace modsecurity {
|
||||
namespace actions {
|
||||
|
||||
|
||||
bool SetVar::init(std::string *error) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool SetVar::execute(Transaction *t) const noexcept {
|
||||
std::string targetValue;
|
||||
std::string resolvedPre;
|
||||
|
@ -86,7 +86,6 @@ class SetVar : public ActionWithRunTimeString, public ActionWithExecution {
|
||||
|
||||
|
||||
bool execute(Transaction *transaction) const noexcept override;
|
||||
bool init(std::string *error) override;
|
||||
|
||||
void populate(RuleWithActions *rule) override {
|
||||
ActionWithRunTimeString::populate(rule);
|
||||
|
Loading…
x
Reference in New Issue
Block a user