[BUGFIX] Wrong namespace in SystemStatusUpdateTask.php
authorPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 21 Sep 2012 21:38:23 +0000 (23:38 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 24 Sep 2012 19:43:02 +0000 (21:43 +0200)
Change-Id: I397fbc713be2c8ec0bc14dfe6a4081a8086b6afb
Fixes: #41226
Releases: 6.0
Reviewed-on: http://review.typo3.org/14890
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php

index 50d275a..27e8c36 100644 (file)
@@ -72,6 +72,7 @@ class SystemStatusUpdateTask extends \TYPO3\CMS\Scheduler\Task {
         * Sets the notification email address.
         *
         * @param string $notificationEmail Notification email address.
+        * @return void
         */
        public function setNotificationEmail($notificationEmail) {
                $this->notificationEmail = $notificationEmail;
@@ -81,12 +82,13 @@ class SystemStatusUpdateTask extends \TYPO3\CMS\Scheduler\Task {
         * Sends a notification email, reporting system issues.
         *
         * @param array $systemStatus Array of statuses
+        * @return void
         */
        protected function sendNotificationEmail(array $systemStatus) {
                $systemIssues = array();
                foreach ($systemStatus as $statusProvider) {
                        foreach ($statusProvider as $status) {
-                               if ($status->getSeverity() > \TYPO3\CMS\Reports\Report\Status\Status::OK) {
+                               if ($status->getSeverity() > \TYPO3\CMS\Reports\Status::OK) {
                                        $systemIssues[] = (string) $status;
                                }
                        }