Skip to content

Commit 042bfa6

Browse files
committed
Remove accidentally kept code
1 parent 72ef37c commit 042bfa6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ext/date/php_date.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5949,13 +5949,6 @@ static zval *date_period_read_property(zend_object *object, zend_string *name, i
59495949
}
59505950
}
59515951

5952-
if (type != BP_VAR_IS && type != BP_VAR_R) {
5953-
if (date_period_is_internal_property(name)) {
5954-
zend_readonly_property_modification_error_ex("DatePeriod", ZSTR_VAL(name));
5955-
return &EG(uninitialized_zval);
5956-
}
5957-
}
5958-
59595952
return zend_std_read_property(object, name, type, cache_slot, rv);
59605953
}
59615954
/* }}} */

0 commit comments

Comments
 (0)