Skip to content

Commit

Permalink
Merge pull request #10 from openscholar/revert-9-13043-404-issue
Browse files Browse the repository at this point in the history
Revert "404 value is stored in cache after software release is created."
  • Loading branch information
rbran100 authored Apr 27, 2020
2 parents 4e23af5 + 7946e16 commit 663ab14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Routing/PurlRouteProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ public function getRouteCollectionForRequest(Request $request) {
'query' => $query_parameters,
'routes' => $routes,
];
if ($routes->getResources()) {
$this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']);
}
$this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']);
return $routes;
}
}
Expand Down

0 comments on commit 663ab14

Please sign in to comment.