Procházet zdrojové kódy

tm: add warning about t_newtran behaviour (pointed out from Iñaki

Henning Westerholt před 14 roky
rodič
revize
9f27cb55a1
2 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 5 0
      modules/tm/README
  2. 6 0
      modules/tm/doc/functions.xml

+ 5 - 0
modules/tm/README

@@ -1342,6 +1342,11 @@ t_relay();
    the only way a script can add a new transaction in an atomic way.
    Typically, it is used to deploy a UAS.
 
+Warning
+
+   Please note that the changes on the request that are made after this
+   function call will not be saved into transaction!
+
    Example 46. t_newtran usage
 ...
 if (t_newtran()) {

+ 6 - 0
modules/tm/doc/functions.xml

@@ -268,6 +268,12 @@ t_relay();
 	    is the only way a script can add a new transaction in an atomic
 	    way. Typically, it is used to deploy a UAS.
 	</para>
+	<warning>
+		<para>
+			Please note that the changes on the request that are made after this 
+			function call will not be saved into transaction!
+		</para>
+	</warning>
 	<example>
 	    <title><function>t_newtran</function> usage</title>
 	    <programlisting>