From 0fc639a2d3e2bdd7b7c5d5f04d60e584cbec565a Mon Sep 17 00:00:00 2001 From: Larry Garfield Date: Fri, 13 Dec 2024 22:46:34 -0600 Subject: [PATCH] Use existing clearstatcache note. --- reference/filesystem/functions/touch.xml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/reference/filesystem/functions/touch.xml b/reference/filesystem/functions/touch.xml index ea0e2f9e2055..086238d9d79a 100644 --- a/reference/filesystem/functions/touch.xml +++ b/reference/filesystem/functions/touch.xml @@ -135,16 +135,7 @@ if (!touch('some_file.txt', $time)) { &reftitle.notes; ¬e.filesystem-time-res; - - - Updates to the mtime or atime - of a file will not be reflected immediately in filesystem operations - such as filemtime. That's because the information - is cached, and this function does not automatically clear the cache. - To have changes reflected in the application immediately, call - clearstatcache on the file. - - + ¬e.clearstatcache;