Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2010-07-03 19:01:00 +0400
committerrobocoder <anthon.pang@gmail.com>2010-07-03 19:01:00 +0400
commit2c695d62cd37f68e99f2668b0bea5f714f85089e (patch)
tree56cdff521cf134779e1dc87e3dd5b18a60b18f56 /core/ErrorHandler.php
parentba1e502962608ba822e8c1e56b5e8036f0900334 (diff)
fixes #1457 - remove E_EXCEPTION (couldn't find any documentation for this as a predefined PHP constant)
refs #998 - merge upgrade.php and common.php so json_decode() is available to Tracker plugins; sync up with -17 release of upgradephp git-svn-id: http://dev.piwik.org/svn/trunk@2420 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ErrorHandler.php')
-rw-r--r--core/ErrorHandler.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php
index c2fecfbdc2..01159458d1 100644
--- a/core/ErrorHandler.php
+++ b/core/ErrorHandler.php
@@ -11,22 +11,6 @@
*/
/**
- * @since PHP 5
- */
-if(!defined('E_STRICT')) { define('E_STRICT', 2048); }
-
-/**
- * @since PHP 5.2.0
- */
-if(!defined('E_RECOVERABLE_ERROR')) { define('E_RECOVERABLE_ERROR', 4096); }
-
-/**
- * @since PHP 5.3.0
- */
-if(!defined('E_DEPRECATED')) { define('E_DEPRECATED', 8192); }
-if(!defined('E_USER_DEPRECATED')) { define('E_USER_DEPRECATED', 16384); }
-
-/**
* Error handler used to display nicely errors in Piwik
*
* @param int $errno Error number