From 679cee5669fdcecf0695f11d40282b018e6358c1 Mon Sep 17 00:00:00 2001 From: Niels Heinemann Date: Tue, 12 Jan 2016 19:56:47 +0100 Subject: [PATCH] Rm debug out --- CRM/Utils/Recent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Recent.php b/CRM/Utils/Recent.php index 0206a2fa0a..460b287d87 100644 --- a/CRM/Utils/Recent.php +++ b/CRM/Utils/Recent.php @@ -141,7 +141,7 @@ class CRM_Utils_Recent { 'delete_url' => CRM_Utils_Array::value('deleteUrl', $others), ) ); - error_log("FOOOO: " . self::$_maxItems); + if (count(self::$_recent) > self::$_maxItems) { array_pop(self::$_recent); } -- 2.25.1