From c818378ef6ba3818f4e121313bf884296ada414b Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 19 Nov 2015 16:34:22 +0530 Subject: [PATCH] minor fix --- CRM/Event/BAO/Event.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index d499e45c74..cd7c33288e 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -381,10 +381,6 @@ WHERE civicrm_event.is_active = 1 AND } // Get the event summary display preferences $show_max_events = Civi::settings()->get('show_events'); - // default to 10 if no option is set - if (is_null($show_max_events)) { - $show_max_events = 10; - } // show all events if show_events is set to a negative value if ($show_max_events >= 0) { $event_summary_limit = "LIMIT 0, $show_max_events"; -- 2.25.1