Skip to content

Commit 62b807a

Browse files
committed
Remove accidentally kept code
1 parent d76a885 commit 62b807a

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
@@ -5958,13 +5958,6 @@ static zval *date_period_read_property(zend_object *object, zend_string *name, i
59585958
}
59595959
}
59605960

5961-
if (type != BP_VAR_IS && type != BP_VAR_R) {
5962-
if (date_period_is_internal_property(name)) {
5963-
zend_readonly_property_modification_error_ex("DatePeriod", ZSTR_VAL(name));
5964-
return &EG(uninitialized_zval);
5965-
}
5966-
}
5967-
59685961
return zend_std_read_property(object, name, type, cache_slot, rv);
59695962
}
59705963
/* }}} */

0 commit comments

Comments
 (0)