Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
f0cb84eb
Commit
f0cb84eb
authored
May 28, 2018
by
Helmut Hummel
Committed by
Thomas Löffler
Jun 06, 2018
Browse files
Disable error flash message for terfe2 controllers
parent
3a26888e
Changes
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter_fe2/Classes/Controller/AbstractController.php
View file @
f0cb84eb
...
...
@@ -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.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment