From 47422b119c94797196a1f3f60fcc7d0206fa45d7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 2 Jan 2023 16:23:36 +1300 Subject: [PATCH] Remove 2020 deprecated functions --- CRM/Core/BAO/PrevNextCache.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/CRM/Core/BAO/PrevNextCache.php b/CRM/Core/BAO/PrevNextCache.php index 9a88d6ec30..22fcecc9af 100644 --- a/CRM/Core/BAO/PrevNextCache.php +++ b/CRM/Core/BAO/PrevNextCache.php @@ -436,30 +436,6 @@ WHERE (pn.cachekey $op %1 OR pn.cachekey $op %2) } } - /** - * Old function to clean up he cache. - * - * @deprecated. - */ - public static function cleanupCache() { - CRM_Core_Error::deprecatedFunctionWarning('Deprecated function'); - Civi::service('prevnext')->cleanup(); - } - - /** - * Get the selections. - * - * NOTE: This stub has been preserved because one extension in `universe` - * was referencing the function. - * - * @deprecated - * @see CRM_Core_PrevNextCache_Sql::getSelection() - */ - public static function getSelection($cacheKey, $action = 'get') { - CRM_Core_Error::deprecatedFunctionWarning('Deprecated function'); - return Civi::service('prevnext')->getSelection($cacheKey, $action); - } - /** * Flip 2 contacts in the prevNext cache. * -- 2.25.1