switching of deprecated warnings which we wont fix in stable 14.2

This commit is contained in:
Ralf Becker 2015-05-06 11:53:04 +00:00
parent dfc66daf8d
commit 2ac7a5306a
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
// Only variables should be assigned by reference, eg. soetemplate::tree_walk()
// Declaration of <extended method> should be compatible with <parent method>, varios places where method parameters change
// --> switching it off for now, as it makes error-log unusable
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
{
set_magic_quotes_runtime(false);

View File

@ -13,7 +13,7 @@
* @version $Id$
*/
error_reporting(error_reporting() & ~E_NOTICE & ~E_STRICT);
error_reporting(error_reporting() & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
// for an old header, we need to setup the reference before including it
$GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];

View File

@ -17,7 +17,7 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling setup-cli
{
die('<h1>setup-cli.php must NOT be called as web-page --> exiting !!!</h1>');
}
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
$dry_run = false;
array_shift($_SERVER['argv']);