Fix adding preinstalled source over and over again

This commit is contained in:
Mateusz Kijowski 2024-04-08 05:24:53 +02:00
parent ac57589c1c
commit d00cec57a8

View file

@ -332,8 +332,6 @@ class caldav_driver extends calendar_driver
*/
public function create_source($source)
{
$source['caldav_url'] = self::_encode_url($source['caldav_url']);
// Re-discover all existing calendars systematically
try {
$calendars = $this->_autodiscover_calendars($source);