From e8f0938b90103e94c5a7489a885de8973a730b75 Mon Sep 17 00:00:00 2001 From: Jake Bentvelzen Date: Thu, 10 Nov 2016 09:39:11 +1100 Subject: [PATCH] fix(Calendar): Remove unnecessary Events() call in 'index' (causing a 500ms-5second slowdown) --- code/Calendar.php | 1 - 1 file changed, 1 deletion(-) diff --git a/code/Calendar.php b/code/Calendar.php index f9de123..ba71493 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -602,7 +602,6 @@ public function index(SS_HTTPRequest $r) { default: $this->setDefaultView(); - $list = $this->Events(); return $this->respond(); break;