Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed May 14, 2019
1 parent dd9c7fa commit 097cfdd
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Yadm/SimpleStoreResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,4 @@ public function getPausedTriggerStorage(): PausedTriggerStorage

return $this->pausedTriggerStorage;
}

public function dropIndexes(): void
{
try {
$this->getTriggerStorage()->getCollection()->dropIndexes();
$this->getJobStorage()->getCollection()->dropIndexes();
$this->getCalendarStorage()->getCollection()->dropIndexes();
$this->getPausedTriggerStorage()->getCollection()->dropIndexes();
$this->getFiredTriggerStorage()->getCollection()->dropIndexes();
} catch (RuntimeException $e) {
}
}

public function createIndexes(): void
{

}
}

0 comments on commit 097cfdd

Please sign in to comment.