/** 
  * @desc Deletes an alert from the database.
  * @param AdministratorAlert $alert The alert to delete.
  */
 public static function delete_alert($alert)
 {
     // If it exists in the data base
     if ($alert->get_id() > 0) {
         self::$db_querier->delete(DB_TABLE_EVENTS, 'WHERE id = :id', array('id' => $alert->get_id()));
         $alert->set_id(0);
         AdministratorAlertCache::invalidate();
     }
     //Else it's not present in the database, we have nothing to delete
 }