Skip to content

Commit

Permalink
Display errors from removeUserData.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 4, 2017
1 parent 2a81a4c commit df8f600
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion horde/lib/Cli/Backup.php
Expand Up @@ -194,7 +194,11 @@ protected function _restore($dir, $apps, $users, $clear)
$resolved[] = $type;
$user = $collection->getUser();
if ($clear && !isset($cleared[$user])) {
$this->_registry->removeUserData($user, $app);
try {
$this->_registry->removeUserData($user, $app);
} catch (Horde_Exception $e) {
$this->message($e->getMessage(), 'cli.warning');
}
$cleared[$user] = true;
}
$this->_registry->callAppMethod(
Expand Down

0 comments on commit df8f600

Please sign in to comment.