From: Evan Prodromou Date: Sun, 24 Jan 2010 16:20:08 +0000 (-0500) Subject: add function doc comment to User_flag_profile::create() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b91a03502577731ef5f80d77d137305390e013fa;p=quix0rs-gnu-social.git add function doc comment to User_flag_profile::create() --- diff --git a/plugins/UserFlag/User_flag_profile.php b/plugins/UserFlag/User_flag_profile.php index bc4251cf7f..d3b84fc5b0 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();