Fix two instances missed in CacheInterface switch.

This commit is contained in:
Buster Neece 2019-08-07 13:03:18 -05:00
parent 9790307266
commit b1685256a8
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class StationRepository extends Repository
$this->_em->persist($station);
$this->_em->flush();
$this->cache->remove('stations');
$this->cache->delete('stations');
}
/**
@ -207,6 +207,6 @@ class StationRepository extends Repository
$this->_em->remove($station);
$this->_em->flush($station);
$this->cache->remove('stations');
$this->cache->delete('stations');
}
}