diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 16e2cc9960122b605b4a340ca2741a62702d459d..6cb6323e89b2705cc017945fdce734d2ddf0ef63 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -214,6 +214,11 @@ */ define('LANGUAGE_RTL', 1); +// Hide E_DEPRECATED messages. +if (defined('E_DEPRECATED')) { + error_reporting(error_reporting() ^ E_DEPRECATED); +} + /** * Start the timer with the specified name. If you start and stop * the same timer multiple times, the measured intervals will be