summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-21 00:55:38 +0000
committerMarcus Boerger <helly@php.net>2006-02-21 00:55:38 +0000
commit76df257b153eba11d71033387d7664a4fc1f28fc (patch)
tree5e208bfb1611d2b5290e80968c37d02d4b7270ee
parent86f70099d0e2e55a8c4321e3674f03e7009b7ca9 (diff)
downloadphp-git-76df257b153eba11d71033387d7664a4fc1f28fc.tar.gz
- Simplify by remove redundant checks
-rwxr-xr-xext/pdo/pdo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c
index 0a8830d923..0b134d431c 100755
--- a/ext/pdo/pdo.c
+++ b/ext/pdo/pdo.c
@@ -67,7 +67,7 @@ PDO_API char *php_pdo_str_tolower_dup(const char *src, int len)
PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC)
{
-#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1))
+#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL)
if (!root) {
if (!spl_ce_RuntimeException) {
zend_class_entry **pce;