Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15435120
D13119.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13119.id.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -176,8 +176,6 @@
'AuditConduitAPIMethod' => 'applications/audit/conduit/AuditConduitAPIMethod.php',
'AuditQueryConduitAPIMethod' => 'applications/audit/conduit/AuditQueryConduitAPIMethod.php',
'AuthManageProvidersCapability' => 'applications/auth/capability/AuthManageProvidersCapability.php',
- 'CalendarColors' => 'applications/calendar/constants/CalendarColors.php',
- 'CalendarConstants' => 'applications/calendar/constants/CalendarConstants.php',
'CalendarTimeUtil' => 'applications/calendar/util/CalendarTimeUtil.php',
'CalendarTimeUtilTestCase' => 'applications/calendar/__tests__/CalendarTimeUtilTestCase.php',
'CelerityAPI' => 'applications/celerity/CelerityAPI.php',
@@ -3445,7 +3443,6 @@
'AuditConduitAPIMethod' => 'ConduitAPIMethod',
'AuditQueryConduitAPIMethod' => 'AuditConduitAPIMethod',
'AuthManageProvidersCapability' => 'PhabricatorPolicyCapability',
- 'CalendarColors' => 'CalendarConstants',
'CalendarTimeUtilTestCase' => 'PhabricatorTestCase',
'CelerityManagementMapWorkflow' => 'CelerityManagementWorkflow',
'CelerityManagementWorkflow' => 'PhabricatorManagementWorkflow',
diff --git a/src/applications/calendar/constants/CalendarColors.php b/src/applications/calendar/constants/CalendarColors.php
deleted file mode 100644
--- a/src/applications/calendar/constants/CalendarColors.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-final class CalendarColors extends CalendarConstants {
-
- const COLOR_RED = 'red';
- const COLOR_ORANGE = 'orange';
- const COLOR_YELLOW = 'yellow';
- const COLOR_GREEN = 'green';
- const COLOR_BLUE = 'blue';
- const COLOR_SKY = 'sky';
- const COLOR_INDIGO = 'indigo';
- const COLOR_VIOLET = 'violet';
- const COLOR_GREY = 'grey';
-
- public static function getColors() {
- return array(
- self::COLOR_SKY,
- self::COLOR_GREEN,
- self::COLOR_VIOLET,
- self::COLOR_ORANGE,
- self::COLOR_BLUE,
- self::COLOR_INDIGO,
- self::COLOR_RED,
- self::COLOR_YELLOW,
- self::COLOR_GREY,
- );
- }
-
-}
diff --git a/src/applications/calendar/constants/CalendarConstants.php b/src/applications/calendar/constants/CalendarConstants.php
deleted file mode 100644
--- a/src/applications/calendar/constants/CalendarConstants.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-abstract class CalendarConstants {}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 26, 6:54 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7612159
Default Alt Text
D13119.id.diff (2 KB)
Attached To
Mode
D13119: Remove unused CalendarColors class
Attached
Detach File
Event Timeline
Log In to Comment