remove Exception type, to not get a Type error when PHP 7+ throws an Error

This commit is contained in:
Ralf Becker 2016-10-31 18:29:32 +01:00
parent 584ecf07ed
commit 8040fa49ec

View File

@ -2218,9 +2218,9 @@ class CalDAV extends HTTP_WebDAV_Server
*
* Does NOT return and get installed in constructor.
*
* @param \Exception $e
* @param \Exception|\Error $e
*/
public static function exception_handler(\Exception $e)
public static function exception_handler($e)
{
// logging exception as regular egw_execption_hander does
$headline = null;