summaryrefslogtreecommitdiff
path: root/ext/intl/calendar
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-12-10 22:22:49 +0100
committerNikita Popov <nikic@php.net>2015-12-10 22:22:49 +0100
commit04e3d82b5597630cc0a4ccdbafb75a4750c6506e (patch)
tree99158c97e308eed4e703eafc53fad6abf23ac29b /ext/intl/calendar
parent8e5e3301a1b9f685452f8709411674f3812b2a2d (diff)
downloadphp-git-04e3d82b5597630cc0a4ccdbafb75a4750c6506e.tar.gz
Make duplicate class constant error for internal class
And drop two duplicate constant declarations from intl. These were leaking previously.
Diffstat (limited to 'ext/intl/calendar')
-rw-r--r--ext/intl/calendar/calendar_class.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/intl/calendar/calendar_class.cpp b/ext/intl/calendar/calendar_class.cpp
index 6b6feef8d9..1f3a68b802 100644
--- a/ext/intl/calendar/calendar_class.cpp
+++ b/ext/intl/calendar/calendar_class.cpp
@@ -505,8 +505,6 @@ void calendar_register_IntlCalendar_class(void)
CALENDAR_DECL_LONG_CONST("FIELD_AM_PM", UCAL_AM_PM);
CALENDAR_DECL_LONG_CONST("FIELD_HOUR", UCAL_HOUR);
CALENDAR_DECL_LONG_CONST("FIELD_HOUR_OF_DAY", UCAL_HOUR_OF_DAY);
- CALENDAR_DECL_LONG_CONST("FIELD_HOUR", UCAL_HOUR);
- CALENDAR_DECL_LONG_CONST("FIELD_HOUR_OF_DAY", UCAL_HOUR_OF_DAY);
CALENDAR_DECL_LONG_CONST("FIELD_MINUTE", UCAL_MINUTE);
CALENDAR_DECL_LONG_CONST("FIELD_SECOND", UCAL_SECOND);
CALENDAR_DECL_LONG_CONST("FIELD_MILLISECOND", UCAL_MILLISECOND);