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