Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Calendar/Update/14.3): prevent problems with invalid relations
Browse files Browse the repository at this point in the history
  • Loading branch information
pschuele committed Sep 1, 2021
1 parent eeb9bb2 commit d7f4e54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tine20/Calendar/Setup/Update/14.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ public function update003()

foreach ($oldRelations as $relation) {
$relation->type = 'SITE';
Tinebase_Relations::getInstance()->getBackend()->update($relation);
try {
Tinebase_Relations::getInstance()->getBackend()->update($relation);
} catch (Exception $e) {
Tinebase_Exception::log($e);
}
}

$this->addApplicationUpdate('Calendar', '14.3', self::RELEASE014_UPDATE003);
Expand Down

0 comments on commit d7f4e54

Please sign in to comment.