public void deleteSubscription(Subscription subscription){
  Log.d(TAG,"Deleting Subscription: " + subscription.toString());
  SQLiteDatabase db=getWritableDatabase();
  db.delete(TABLE_SUBSCRIPTIONS,_ID + "=?",new String[]{String.valueOf(subscription.getPersistenceId())});
  db.close();
}

public void deleteSubscription ( Subscription subscription ) { Log . d ( TAG , "Deleting Subscription: " + subscription . toString ( ) ) ; SQLiteDatabase db = getWritableDatabase ( ) ; db . delete ( TABLE_SUBSCRIPTIONS , _ID + "=?" , new String [ ] { String . valueOf ( subscription . getPersistenceId ( ) ) } ) ; db . close ( ) ; }
deletes a subscription from the database
