Error reporting for user hide deprecated

This commit is contained in:
FusionPBX 2023-05-08 15:07:59 -06:00 committed by GitHub
parent a1cea6bf56
commit 26e3a0881d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
}
switch ($error_reporting_scope) {
case 'user':
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
break;
case 'dev':
error_reporting(E_ALL ^ E_NOTICE);
@ -59,7 +59,7 @@
error_reporting(E_ALL);
break;
default:
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
}
//get the database connection settings