From a8cf612fe050f007b7b2ab85cf19249dd481027e Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 22 Jul 2015 07:04:21 -0700 Subject: [PATCH] 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 --- src/__phutil_library_map__.php | 2 ++ src/applications/phame/storage/PhameBlog.php | 1 + src/applications/phame/storage/PhamePost.php | 1 + 3 files changed, 4 insertions(+) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 3646b02e62..279ecfff6b 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -6966,6 +6966,7 @@ phutil_register_library_map(array( 'PhabricatorPolicyInterface', 'PhabricatorMarkupInterface', 'PhabricatorSubscribableInterface', + 'PhabricatorFlaggableInterface', 'PhabricatorApplicationTransactionInterface', ), 'PhameBlogDeleteController' => 'PhameController', @@ -6989,6 +6990,7 @@ phutil_register_library_map(array( 'PhameDAO', 'PhabricatorPolicyInterface', 'PhabricatorMarkupInterface', + 'PhabricatorFlaggableInterface', 'PhabricatorApplicationTransactionInterface', 'PhabricatorSubscribableInterface', 'PhabricatorTokenReceiverInterface', diff --git a/src/applications/phame/storage/PhameBlog.php b/src/applications/phame/storage/PhameBlog.php index eda16586e2..2d5e1effcb 100644 --- a/src/applications/phame/storage/PhameBlog.php +++ b/src/applications/phame/storage/PhameBlog.php @@ -5,6 +5,7 @@ final class PhameBlog extends PhameDAO PhabricatorPolicyInterface, PhabricatorMarkupInterface, PhabricatorSubscribableInterface, + PhabricatorFlaggableInterface, PhabricatorApplicationTransactionInterface { const MARKUP_FIELD_DESCRIPTION = 'markup:description'; diff --git a/src/applications/phame/storage/PhamePost.php b/src/applications/phame/storage/PhamePost.php index 6695722937..7245240b3a 100644 --- a/src/applications/phame/storage/PhamePost.php +++ b/src/applications/phame/storage/PhamePost.php @@ -4,6 +4,7 @@ final class PhamePost extends PhameDAO implements PhabricatorPolicyInterface, PhabricatorMarkupInterface, + PhabricatorFlaggableInterface, PhabricatorApplicationTransactionInterface, PhabricatorSubscribableInterface, PhabricatorTokenReceiverInterface {