Skip to content
Snippets Groups Projects
Commit 1e76a530 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

No need to find calendar twice.

parent 31db583f
Branches
No related tags found
No related merge requests found
......@@ -50,10 +50,7 @@ class OC_Calendar_App{
return false;
}
}
if($calendar === false){
return false;
}
return OC_Calendar_Calendar::find($id);
return $calendar;
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment