E_ALL already sets E_DEPRECATED

Signed-off-by: Jose Quinteiro <github@quinteiro.org>
pull/19867/head
Jose Quinteiro 6 years ago
parent 6cf679e04e
commit 6995e98df6
  1. 2
      lib/base.php

@ -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

Loading…
Cancel
Save