diff --git a/src/app/notification/controllers/NotificationController.php b/src/app/notification/controllers/NotificationController.php index 037eb53f6dee06b98e817495c4aef2f984af2561..5e0fa50578ab2f80321cab1f234321102af133e9 100644 --- a/src/app/notification/controllers/NotificationController.php +++ b/src/app/notification/controllers/NotificationController.php @@ -245,7 +245,7 @@ class NotificationController } $filePath = $pathToFolow.'modules/notifications/batch/scripts/'.$filename; - if (file_exist($filePath)) { + if (file_exists($filePath)) { unlink($filePath); } }