Commit f0cb84eb authored by Helmut Hummel's avatar Helmut Hummel Committed by Thomas Löffler
Browse files

Disable error flash message for terfe2 controllers

parent 3a26888e
......@@ -19,7 +19,6 @@ namespace T3o\TerFe2\Controller;
*/
abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
{
/**
* @var \T3o\TerFe2\Security\Role;
*/
......@@ -47,6 +46,11 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
}
}
protected function addErrorFlashMessage()
{
// Do NOT add an error flash message, output validation errors only
}
/**
* Translate a label
*
......@@ -60,7 +64,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
return \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate($label, $extensionKey, $arguments);
}
/**
* Send flash message and redirect to given action
*
......@@ -87,7 +90,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
$this->redirect($action, $controller, $extension, $arguments);
}
/**
* Send flash message and forward to given action
*
......@@ -105,7 +107,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
$this->forward($action, $controller, $extension, $arguments);
}
/**
* Send flash message and redirect to given action
*
......@@ -123,7 +124,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
$this->redirect($action, $controller, $extension, $arguments);
}
/**
* Send flash message and forward to given action
*
......@@ -141,7 +141,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
$this->forward($action, $controller, $extension, $arguments);
}
/**
* Clear cache of given pages
*
......@@ -156,7 +155,6 @@ abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\Acti
}
}
/**
* Adds the base uri if not already in place.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment