diff options
-rw-r--r-- | appinfo/app.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index d987e985b..9eaf981c2 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -13,16 +13,6 @@ namespace OCA\News\AppInfo; -use Exception; - require_once __DIR__ . '/../vendor/autoload.php'; - -// Turn all errors into exceptions to combat shitty library behavior -set_error_handler(function ($code, $message) { - if ($code === E_ERROR || $code === E_USER_ERROR) { - throw new Exception($message, $code); - } -}); - (new Application)->registerConfig(); |