Upgrade symfony from 7 to 8. Remove cache since it is now faster to open website.
This commit was merged in pull request #62.
This commit is contained in:
@@ -13,9 +13,6 @@ final class DiscontinuedController extends BaseController
|
||||
#[Route('/discontinued', name: 'app_discontinued')]
|
||||
public function __invoke(): Response
|
||||
{
|
||||
if($this->cache->getItem('list_discontinued')->isHit()) {
|
||||
return $this->render('productList.html.twig', ['listType' => 'discontinued']);
|
||||
}
|
||||
|
||||
$products = Product::where('lastSeen', '<', now()->format('Y-m-d'))
|
||||
->orderByDesc('starred')
|
||||
|
||||
Reference in New Issue
Block a user