public static function deletePurchasedDiamond($id)
 {
     return ConnectionFactory::DeleteRowFromTable("diamond_purchased_history", array('id' => $id));
 }
Exemple #2
0
 public function rejectInvite($inviterID)
 {
     return ConnectionFactory::DeleteRowFromTable("agencies", array('user_one_id' => $inviterID, 'user_two_id' => $this->id));
 }
Exemple #3
0
 public function removeOfflineAchievements()
 {
     $conditions = array();
     $conditions['user_id'] = $this->id;
     $success = ConnectionFactory::DeleteRowFromTable('offline_achievements', $conditions);
     return $success;
 }
Exemple #4
0
 public function deleteCode($code)
 {
     $status = ConnectionFactory::DeleteRowFromTable("soldier_code", array('code' => $code));
     return $status;
 }
Exemple #5
0
 /**
  *  Getter functions
  */
 public static function deleteComment($id)
 {
     return ConnectionFactory::DeleteRowFromTable("comments", array('id' => $id));
 }