Example #1
0
 public function stopWatchingAuction($user)
 {
     $userrole_id = $user->buyerID();
     $auction_id = $this->id;
     $query = "DELETE From Watch WHERE userrole_id=? AND auction_id=?";
     Database::delete($query, [$userrole_id, $auction_id]);
 }