E_ALL already sets E_DEPRECATED

Signed-off-by: Jose Quinteiro <github@quinteiro.org>
This commit is contained in:
Jose Quinteiro 2020-03-09 12:59:54 -07:00
parent 6cf679e04e
commit 6995e98df6
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ class OC {
// Override php.ini and log everything if we're troubleshooting
if (self::$config->getValue('loglevel') === ILogger::DEBUG) {
error_reporting(E_ALL | E_DEPRECATED);
error_reporting(E_ALL);
}
// Don't display errors and log them