Merge pull request #7450 from staabm/simpler-hash
Use a simpler hashing for the Rule2Literal casepull/7432/merge
commit
68d468d683
|
@ -50,9 +50,7 @@ class Rule2Literals extends Rule
|
||||||
|
|
||||||
public function getHash()
|
public function getHash()
|
||||||
{
|
{
|
||||||
$data = unpack('ihash', md5($this->literal1.','.$this->literal2, true));
|
return $this->literal1.','.$this->literal2;
|
||||||
|
|
||||||
return $data['hash'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue