From 69e53aee98a4a167d6d76b0a7ff0270b9b354ebe Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 4 Jan 2010 16:53:07 +0000 Subject: [PATCH] make unimplemented transactions fail git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@399 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- woc/phpout.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/woc/phpout.cpp b/woc/phpout.cpp index c062959..f01b5a9 100644 --- a/woc/phpout.cpp +++ b/woc/phpout.cpp @@ -836,6 +836,7 @@ void WocPHPServerOut::newTransaction(const WocTransaction&trn) code+="\ttry{"+trn.callFunction("php")+"}catch(Exception $e){$this->handleException($e);}\n"; }else{ code+="\t/*normally here would be the PHP call, but it is missing from the config*/\n"; + code+="\t$this->abortNotImplemented();\nreturn;\n"; qDebug("Warning: transaction %s does not have a PHP call!",trn.name().toAscii().data()); } -- 1.7.2.5