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 { ...@@ -255,14 +255,12 @@ class Trails_Dispatcher {
* @param string the error message * @param string the error message
* @param string the filename that the error was raised in * @param string the filename that the error was raised in
* @param integer the line number the error was raised at * @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 * @throws Trails_Exception
* *
* @return void * @return void
*/ */
function error_handler($errno, $string, $file, $line, $context) { function error_handler($errno, $string, $file, $line) {
if (!(5888 & $errno)) { if (!(5888 & $errno)) {
return false; return false;
} }
......
...@@ -283,14 +283,12 @@ class Trails_Dispatcher { ...@@ -283,14 +283,12 @@ class Trails_Dispatcher {
* @param string the error message * @param string the error message
* @param string the filename that the error was raised in * @param string the filename that the error was raised in
* @param integer the line number the error was raised at * @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 * @throws Trails_Exception
* *
* @return void * @return void
*/ */
function error_handler($errno, $string, $file, $line, $context) { function error_handler($errno, $string, $file, $line) {
if (!(5888 & $errno)) { if (!(5888 & $errno)) {
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment