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 3e8244fc6d
commit 29a3c5a08e

View File

@ -2216,9 +2216,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;