Author: Sebastian Bergmann
Date: 2007-05-04 12:03:17 +0200 (Fri, 04 May 2007)
New Revision: 5043
Log:
- Only notify if variable was actually unset.
Modified:
trunk/Workflow/src/interfaces/execution.php
Modified: trunk/Workflow/src/interfaces/execution.php
===================================================================
--- trunk/Workflow/src/interfaces/execution.php 2007-05-04 10:03:12 UTC (rev
5042)
+++ trunk/Workflow/src/interfaces/execution.php 2007-05-04 10:03:17 UTC (rev
5043)
@@ -690,19 +690,19 @@
if ( isset( $this->variables[$variableName] ) )
{
unset( $this->variables[$variableName] );
- }
- $this->notifyListeners(
- sprintf(
- 'Unset variable "%s" for execution #%d of workflow "%s" (version
%d).',
+ $this->notifyListeners(
+ sprintf(
+ 'Unset variable "%s" for execution #%d of workflow "%s"
(version %d).',
- $variableName,
- $this->id,
- $this->workflow->getName(),
- $this->workflow->getVersion()
- ),
- ezcWorkflowExecutionListener::DEBUG
- );
+ $variableName,
+ $this->id,
+ $this->workflow->getName(),
+ $this->workflow->getVersion()
+ ),
+ ezcWorkflowExecutionListener::DEBUG
+ );
+ }
}
/**
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components