summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/UserFlagPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-07 13:21:40 -0500
committerEvan Prodromou <evan@status.net>2009-11-07 13:21:40 -0500
commit285745d2fdfadb58cd228a72bc93511a9fb54e58 (patch)
treecd45f3f926e8c4661ff00b2d5395807014356820 /plugins/UserFlag/UserFlagPlugin.php
parent7a8723e6b4c28c2bac9a1d5c1a1a3831471593bc (diff)
make sure UserFlagPlugin works without Profile_flag
Diffstat (limited to 'plugins/UserFlag/UserFlagPlugin.php')
-rw-r--r--plugins/UserFlag/UserFlagPlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php
index 06c1e75c5..c2716c2e1 100644
--- a/plugins/UserFlag/UserFlagPlugin.php
+++ b/plugins/UserFlag/UserFlagPlugin.php
@@ -101,8 +101,7 @@ class UserFlagPlugin extends Plugin
$action->elementStart('li', 'entity_flag');
- if (User_flag_profile::exists($profile->id, $user->id,
- Profile_flag::DEFAULTFLAG)) {
+ if (User_flag_profile::exists($profile->id, $user->id)) {
$action->element('span',
_('Flagged for review'));
} else {