Remove emitting wipe events
parent
1f90b4e393
commit
ca225ff6a6
|
@ -42,9 +42,6 @@ abstract class AbstractAggregateIndex implements ReadableIndex
|
||||||
$index->on('definition-added', function () {
|
$index->on('definition-added', function () {
|
||||||
$this->emit('definition-added');
|
$this->emit('definition-added');
|
||||||
});
|
});
|
||||||
$index->on('wipe', function() {
|
|
||||||
$this->emit('wipe');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -218,7 +218,5 @@ class Index implements ReadableIndex, \Serializable
|
||||||
$this->references = [];
|
$this->references = [];
|
||||||
$this->complete = false;
|
$this->complete = false;
|
||||||
$this->staticComplete = false;
|
$this->staticComplete = false;
|
||||||
|
|
||||||
$this->emit('wipe');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue