From ee4d84226fd8b3eca445764b6161b4b97db45164 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 2 May 2016 00:18:38 +0000 Subject: [PATCH] Delete activity Tab filter settings before upgrade --- CRM/Upgrade/Incremental/php/FourSeven.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Upgrade/Incremental/php/FourSeven.php b/CRM/Upgrade/Incremental/php/FourSeven.php index 6a33eceda4..dc20d25476 100644 --- a/CRM/Upgrade/Incremental/php/FourSeven.php +++ b/CRM/Upgrade/Incremental/php/FourSeven.php @@ -254,6 +254,7 @@ class CRM_Upgrade_Incremental_php_FourSeven extends CRM_Upgrade_Incremental_Base // Nav records are expendable. https://forum.civicrm.org/index.php?topic=36933.0 CRM_Core_DAO::executeQuery('DELETE FROM civicrm_setting WHERE contact_id IS NOT NULL AND name = "navigation"'); + CRM_Core_DAO::executeQuery('DELETE FROM civicrm_setting WHERE name = "activity_tab_filter"'); CRM_Core_DAO::executeQuery('ALTER TABLE civicrm_setting DROP INDEX index_group_name'); CRM_Core_DAO::executeQuery('ALTER TABLE civicrm_setting DROP COLUMN group_name'); -- 2.25.1