Skip to content

Commit 5e42fa9

Browse files
committed
Remove old version staff
1 parent 441168b commit 5e42fa9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

php_memcached.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3565,8 +3565,8 @@ zend_class_entry *php_memc_get_exception_base(int root)
35653565
zval *pce_z;
35663566

35673567
if ((pce_z = zend_hash_str_find(CG(class_table),
3568-
"runtimeexception",
3569-
sizeof("RuntimeException") - 1)) != NULL) {
3568+
"runtimeexception",
3569+
sizeof("RuntimeException") - 1)) != NULL) {
35703570
pce = Z_CE_P(pce_z);
35713571
spl_ce_RuntimeException = pce;
35723572
return pce;
@@ -3576,11 +3576,7 @@ zend_class_entry *php_memc_get_exception_base(int root)
35763576
}
35773577
}
35783578
#endif
3579-
#if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION < 2)
35803579
return zend_exception_get_default();
3581-
#else
3582-
return zend_exception_get_default();
3583-
#endif
35843580
}
35853581

35863582

0 commit comments

Comments
 (0)