From ea9fa6a9189d1bcf6a596a0982b1e56fcbb8fe6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 30 Aug 2012 10:50:10 +0200
Subject: [PATCH] There is only PaymentTransaction_updateStatus which does all.

---
 .../vifib_hosting/AccountingTransaction_startPayment.xml     | 5 +----
 master/bt5/vifib_web/bt/revision                             | 2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/AccountingTransaction_startPayment.xml b/master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/AccountingTransaction_startPayment.xml
index 320effd2a..6c83f3f9a 100644
--- a/master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/AccountingTransaction_startPayment.xml
+++ b/master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/AccountingTransaction_startPayment.xml
@@ -71,10 +71,7 @@ if integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativ
   current_id = integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativeUrl())\n
   current_today, transaction_id = current_id.split(\'_\')\n
 \n
-if transaction_id is not None:\n
-  context.PaymentTransaction_updateStatus()\n
-elif previous_id is not None:\n
-  context.PaymentTransaction_registerPayzen()\n
+context.PaymentTransaction_updateStatus()\n
 \n
 if context.getSimulationState() == \'confirmed\':\n
   message = context.Base_translateString("Payment was automatically registered to PayZen system.")\n
diff --git a/master/bt5/vifib_web/bt/revision b/master/bt5/vifib_web/bt/revision
index be6652a2a..5e801cee8 100644
--- a/master/bt5/vifib_web/bt/revision
+++ b/master/bt5/vifib_web/bt/revision
@@ -1 +1 @@
-415
\ No newline at end of file
+416
\ No newline at end of file
-- 
2.30.9