Page MenuHomePhabricator

D13119.id31687.diff
No OneTemporary

D13119.id31687.diff

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

Mime Type
text/plain
Expires
Thu, Sep 19, 12:33 PM (16 m, 28 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6620979
Default Alt Text
D13119.id31687.diff (2 KB)

Event Timeline