Skip to content

Commit f79cb4e

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Listener/NotificationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private function isNotificationDisabledAtActivity(string $userId, string $type):
213213
$manager = \OCP\Server::get(\OCP\Activity\IManager::class);
214214
try {
215215
$manager->getSettingById($type);
216-
} catch (\Exception $e) {
216+
} catch (\Exception) {
217217
return false;
218218
}
219219

0 commit comments

Comments
 (0)