Skip to content

Commit 0187c19

Browse files
refactor(rector): drop unused catch variable in MailNotifyListener
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent c788048 commit 0187c19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Listener/MailNotifyListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private function isNotificationDisabledAtActivity(string $userId, string $type):
180180
$manager = \OCP\Server::get(\OCP\Activity\IManager::class);
181181
try {
182182
$manager->getSettingById($type);
183-
} catch (\Exception $e) {
183+
} catch (\Exception) {
184184
return false;
185185
}
186186

0 commit comments

Comments
 (0)