1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-04 11:51:02 +01:00

Make Phame Blogs and Posts Flaggable

Summary: Will attempt at modernizing Phame in smaller pieces. First up, flagging.

Test Plan: Flag a Post, Flag a Blog

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13668
This commit is contained in:
Chad Little 2015-07-22 07:04:21 -07:00
parent 1985ef390b
commit a8cf612fe0
3 changed files with 4 additions and 0 deletions

View file

@ -6966,6 +6966,7 @@ phutil_register_library_map(array(
'PhabricatorPolicyInterface', 'PhabricatorPolicyInterface',
'PhabricatorMarkupInterface', 'PhabricatorMarkupInterface',
'PhabricatorSubscribableInterface', 'PhabricatorSubscribableInterface',
'PhabricatorFlaggableInterface',
'PhabricatorApplicationTransactionInterface', 'PhabricatorApplicationTransactionInterface',
), ),
'PhameBlogDeleteController' => 'PhameController', 'PhameBlogDeleteController' => 'PhameController',
@ -6989,6 +6990,7 @@ phutil_register_library_map(array(
'PhameDAO', 'PhameDAO',
'PhabricatorPolicyInterface', 'PhabricatorPolicyInterface',
'PhabricatorMarkupInterface', 'PhabricatorMarkupInterface',
'PhabricatorFlaggableInterface',
'PhabricatorApplicationTransactionInterface', 'PhabricatorApplicationTransactionInterface',
'PhabricatorSubscribableInterface', 'PhabricatorSubscribableInterface',
'PhabricatorTokenReceiverInterface', 'PhabricatorTokenReceiverInterface',

View file

@ -5,6 +5,7 @@ final class PhameBlog extends PhameDAO
PhabricatorPolicyInterface, PhabricatorPolicyInterface,
PhabricatorMarkupInterface, PhabricatorMarkupInterface,
PhabricatorSubscribableInterface, PhabricatorSubscribableInterface,
PhabricatorFlaggableInterface,
PhabricatorApplicationTransactionInterface { PhabricatorApplicationTransactionInterface {
const MARKUP_FIELD_DESCRIPTION = 'markup:description'; const MARKUP_FIELD_DESCRIPTION = 'markup:description';

View file

@ -4,6 +4,7 @@ final class PhamePost extends PhameDAO
implements implements
PhabricatorPolicyInterface, PhabricatorPolicyInterface,
PhabricatorMarkupInterface, PhabricatorMarkupInterface,
PhabricatorFlaggableInterface,
PhabricatorApplicationTransactionInterface, PhabricatorApplicationTransactionInterface,
PhabricatorSubscribableInterface, PhabricatorSubscribableInterface,
PhabricatorTokenReceiverInterface { PhabricatorTokenReceiverInterface {