From: Niels Heinemann Date: Tue, 12 Jan 2016 18:56:47 +0000 (+0100) Subject: Rm debug out X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=679cee5669fdcecf0695f11d40282b018e6358c1;p=civicrm-core.git Rm debug out --- 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); }