Skip to content

Commit

Permalink
Catch errors from Kronolith::removeUserEvents().
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Aug 11, 2017
1 parent 59c1b2e commit 1075e6e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kronolith/lib/Application.php
Expand Up @@ -400,7 +400,12 @@ public function removeUserData($user)
$error = false;

// Remove all events owned by the user in all calendars.
Kronolith::removeUserEvents($user);
try {
Kronolith::removeUserEvents($user);
} catch (Exception $e) {
Horde::log($e, 'NOTICE');
$error = true;
}

// Get the shares owned by the user being deleted.
try {
Expand Down

0 comments on commit 1075e6e

Please sign in to comment.