From d83dce989333823a9d70085c9488d14a967a20bd Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 20 Jul 2015 13:43:58 -0700 Subject: [PATCH] Allow People to be Flagged Summary: Ref T8888, Makes People Flaggable (and makes me wonder if we should rename Flags->Bookmarks). Test Plan: Flag myself. Get excited. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: joshuaspence, epriestley, Korvin Maniphest Tasks: T8888 Differential Revision: https://secure.phabricator.com/D13654 --- src/__phutil_library_map__.php | 1 + src/applications/people/storage/PhabricatorUser.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 67bb02d749..79268ede11 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -6836,6 +6836,7 @@ phutil_register_library_map(array( 'PhabricatorCustomFieldInterface', 'PhabricatorDestructibleInterface', 'PhabricatorSSHPublicKeyInterface', + 'PhabricatorFlaggableInterface', 'PhabricatorApplicationTransactionInterface', ), 'PhabricatorUserBlurbField' => 'PhabricatorUserCustomField', diff --git a/src/applications/people/storage/PhabricatorUser.php b/src/applications/people/storage/PhabricatorUser.php index 4f2b9b5820..52db2f38f5 100644 --- a/src/applications/people/storage/PhabricatorUser.php +++ b/src/applications/people/storage/PhabricatorUser.php @@ -14,6 +14,7 @@ final class PhabricatorUser PhabricatorCustomFieldInterface, PhabricatorDestructibleInterface, PhabricatorSSHPublicKeyInterface, + PhabricatorFlaggableInterface, PhabricatorApplicationTransactionInterface { const SESSION_TABLE = 'phabricator_session';