summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-24 11:20:08 -0500
committerEvan Prodromou <evan@status.net>2010-01-24 11:20:08 -0500
commitb91a03502577731ef5f80d77d137305390e013fa (patch)
treed147ed3500086c0716c8ce0c4ed1c5a1a5fc8eb1
parenta66181c900119bb0efb63939f3a0b3d50de72b8d (diff)
add function doc comment to User_flag_profile::create()
-rw-r--r--plugins/UserFlag/User_flag_profile.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/UserFlag/User_flag_profile.php b/plugins/UserFlag/User_flag_profile.php
index bc4251cf7..d3b84fc5b 100644
--- a/plugins/UserFlag/User_flag_profile.php
+++ b/plugins/UserFlag/User_flag_profile.php
@@ -130,6 +130,15 @@ class User_flag_profile extends Memcached_DataObject
return !empty($ufp);
}
+ /**
+ * Create a new flag
+ *
+ * @param integer $user_id ID of user who's flagging
+ * @param integer $profile_id ID of profile being flagged
+ *
+ * @return boolean success flag
+ */
+
static function create($user_id, $profile_id)
{
$ufp = new User_flag_profile();