From abc328ebd90c678e9646fedba73dad73f8b126f1 Mon Sep 17 00:00:00 2001 From: ppound Date: Tue, 14 Mar 2023 09:35:19 -0300 Subject: [PATCH] leave block caching at default for now --- .../src/Plugin/Block/RoblibSearchEdsArticles.php | 7 ------- .../src/Plugin/Block/RoblibSearchEdsBooks.php | 7 ------- .../src/Plugin/Block/RoblibSearchSolrsiteBestbet.php | 7 ------- .../src/Plugin/Block/RoblibSearchSolrsiteGeneral.php | 8 -------- 4 files changed, 29 deletions(-) diff --git a/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php b/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php index 3513f40..776e9bf 100644 --- a/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php +++ b/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php @@ -39,11 +39,4 @@ class RoblibSearchEdsArticles extends BlockBase { ]; } - /** - * {@inheritdoc} - */ - public function getCacheMaxAge() { - //Reading dynamic content from external source so no caching. - return 0; - } } diff --git a/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php b/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php index a4c9ccc..b58958c 100644 --- a/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php +++ b/modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php @@ -39,12 +39,5 @@ class RoblibSearchEdsBooks extends BlockBase { ]; } - /** - * {@inheritdoc} - */ - public function getCacheMaxAge() { - //Reading dynamic content from external source so no caching. - return 0; - } } diff --git a/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php b/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php index 52c6efd..cb01e27 100644 --- a/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php +++ b/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php @@ -37,11 +37,4 @@ class RoblibSearchSolrSiteBestbet extends BlockBase { ]; } - /** - * {@inheritdoc} - */ - public function getCacheMaxAge() { - //Reading dynamic content from external source so no caching. - return 0; - } } diff --git a/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php b/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php index ce767bf..ad56915 100644 --- a/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php +++ b/modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php @@ -38,12 +38,4 @@ class RoblibSearchSolrsiteGeneral extends BlockBase { ]; } - /** - * {@inheritdoc} - */ - public function getCacheMaxAge() { - //Reading dynamic content from external source so no caching. - return 0; - } - }