Merge pull request #24353 from frederic34/patch-4

add since info
This commit is contained in:
Laurent Destailleur 2023-03-28 19:42:55 +02:00 committed by GitHub
commit 9a2226139d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11401,6 +11401,7 @@ function isAFileWithExecutableContent($filename)
* Return the value of token currently saved into session with name 'newtoken'.
* This token must be send by any POST as it will be used by next page for comparison with value in session.
*
* @since Dolibarr v10.0.7
* @return string
*/
function newToken()
@ -11412,6 +11413,7 @@ function newToken()
* Return the value of token currently saved into session with name 'token'.
* For ajax call, you must use this token as a parameter of the call into the js calling script (the called ajax php page must also set constant NOTOKENRENEWAL).
*
* @since Dolibarr v10.0.7
* @return string
*/
function currentToken()