Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 26, 2018
1 parent b6039e9 commit b10626a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions imp/config/hooks.php
Expand Up @@ -19,8 +19,7 @@ public function prefs_init($pref, $value, $username, $scope_ob)
// Dynamically set the add_source preference.
try {
$add_source = $GLOBALS['registry']->call('contacts/getDefaultShare');
}
catch (Horde_Exception $e) {
} catch (Horde_Exception $e) {
$add_source = $value;
}
return is_null($username)
Expand All @@ -34,8 +33,7 @@ public function prefs_init($pref, $value, $username, $scope_ob)
if (!is_null($username)) {
try {
$sources = $GLOBALS['registry']->call('contacts/sources');
}
catch (Horde_Exception $e) {
} catch (Horde_Exception $e) {
$sources = array();
}

Expand Down

0 comments on commit b10626a

Please sign in to comment.