Example #1
0
 public function hasUserPosted(GWF_User $user)
 {
     $posts = new GWF_ForumPost(false);
     $uid = $user->getID();
     $tid = $this->getID();
     return $posts->selectFirst("post_uid={$uid} AND post_tid={$tid}") !== false;
 }