Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13964159
D13653.id33005.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13653.id33005.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
@@ -5536,6 +5536,7 @@
'PhabricatorCountdown' => array(
'PhabricatorCountdownDAO',
'PhabricatorPolicyInterface',
+ 'PhabricatorFlaggableInterface',
'PhabricatorSpacesInterface',
),
'PhabricatorCountdownApplication' => 'PhabricatorApplication',
diff --git a/src/applications/countdown/controller/PhabricatorCountdownViewController.php b/src/applications/countdown/controller/PhabricatorCountdownViewController.php
--- a/src/applications/countdown/controller/PhabricatorCountdownViewController.php
+++ b/src/applications/countdown/controller/PhabricatorCountdownViewController.php
@@ -70,6 +70,7 @@
$id = $countdown->getID();
$view = id(new PhabricatorActionListView())
+ ->setObject($countdown)
->setUser($viewer);
$can_edit = PhabricatorPolicyFilter::hasCapability(
diff --git a/src/applications/countdown/storage/PhabricatorCountdown.php b/src/applications/countdown/storage/PhabricatorCountdown.php
--- a/src/applications/countdown/storage/PhabricatorCountdown.php
+++ b/src/applications/countdown/storage/PhabricatorCountdown.php
@@ -1,9 +1,10 @@
<?php
-final class PhabricatorCountdown
- extends PhabricatorCountdownDAO
- implements PhabricatorPolicyInterface,
- PhabricatorSpacesInterface {
+final class PhabricatorCountdown extends PhabricatorCountdownDAO
+ implements
+ PhabricatorPolicyInterface,
+ PhabricatorFlaggableInterface,
+ PhabricatorSpacesInterface {
protected $title;
protected $authorPHID;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 16, 7:52 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713673
Default Alt Text
D13653.id33005.diff (1 KB)
Attached To
Mode
D13653: Make Countdown Flaggable
Attached
Detach File
Event Timeline
Log In to Comment