Skip to content

Commit

Permalink
fix(Calendar): Remove unnecessary Events() call in 'index' (causing a…
Browse files Browse the repository at this point in the history
… 500ms-5second slowdown)
Jake Bentvelzen committed Nov 9, 2016
1 parent 7fda123 commit e8f0938
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/Calendar.php
Original file line number Diff line number Diff line change
@@ -602,7 +602,6 @@ public function index(SS_HTTPRequest $r) {

default:
$this->setDefaultView();
$list = $this->Events();
return $this->respond();
break;

0 comments on commit e8f0938

Please sign in to comment.