fixed static bug
This commit is contained in:
parent
ef7fafbe79
commit
0244d57dc5
@ -17,12 +17,12 @@ class Listener
|
||||
protected function check($event)
|
||||
{
|
||||
// Apply only to the specified alias
|
||||
if ($event->alias != self::ALIAS) {
|
||||
if ($event->alias != static::ALIAS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Do not apply to the same or newer versions
|
||||
if ($event->old >= self::VERSION) {
|
||||
if ($event->old >= static::VERSION) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user