Page MenuHomePhabricator

D13653.id33005.diff
No OneTemporary

D13653.id33005.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
@@ -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

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)

Event Timeline