Skip to content
Snippets Groups Projects
Commit 40d435ff authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

drop removed parameter from error handler, fixes #4045

Closes #4045

Merge request studip/studip!2899
parent 5dd5dbd5
No related branches found
No related tags found
No related merge requests found
......@@ -255,14 +255,12 @@ class Trails_Dispatcher {
* @param string the error message
* @param string the filename that the error was raised in
* @param integer the line number the error was raised at
* @param array an array of every variable that existed in the scope the
* error was triggered in
*
* @throws Trails_Exception
*
* @return void
*/
function error_handler($errno, $string, $file, $line, $context) {
function error_handler($errno, $string, $file, $line) {
if (!(5888 & $errno)) {
return false;
}
......
......@@ -283,14 +283,12 @@ class Trails_Dispatcher {
* @param string the error message
* @param string the filename that the error was raised in
* @param integer the line number the error was raised at
* @param array an array of every variable that existed in the scope the
* error was triggered in
*
* @throws Trails_Exception
*
* @return void
*/
function error_handler($errno, $string, $file, $line, $context) {
function error_handler($errno, $string, $file, $line) {
if (!(5888 & $errno)) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment