From df0996131f2b511cc2c2943a35b6f68058d40e57 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Wed, 19 Oct 2016 10:31:19 -0400 Subject: [PATCH] removed extraneous lines and switched to static call. --- CRM/Core/BAO/Dashboard.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CRM/Core/BAO/Dashboard.php b/CRM/Core/BAO/Dashboard.php index f5ea0ba9f7..eaa4e2f9ec 100644 --- a/CRM/Core/BAO/Dashboard.php +++ b/CRM/Core/BAO/Dashboard.php @@ -439,9 +439,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { } else { //Get the id of Logged in User - $session = CRM_Core_Session::singleton(); - $contactID = CRM_Core_Session::singleton()->getLoggedInContactID(); - $contactID = $session->get('userID'); + $contactID = CRM_Core_Session::getLoggedInContactID(); if (!empty($contactID)) { $contactIDs[$contactID] = NULL; } -- 2.25.1