No need to find calendar twice.

This commit is contained in:
Thomas Tanghus 2012-06-15 00:28:12 +02:00
parent 31db583f03
commit 1e76a530ea
1 changed files with 1 additions and 4 deletions

View File

@ -50,10 +50,7 @@ class OC_Calendar_App{
return false;
}
}
if($calendar === false){
return false;
}
return OC_Calendar_Calendar::find($id);
return $calendar;
}
/*