From c7cf081097913eeeb97b464e213c04728b05439f Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 19 Sep 2024 11:17:05 +0800 Subject: [PATCH] MDL-79628 core: Add missing deprecation note * Add the missing deprecation note for the timeout parameter in the PHPDoc block of the navigation_cache's constructor. --- lib/navigationlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navigationlib.php b/lib/navigationlib.php index 66e46552dac..8b011d70105 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -6029,7 +6029,7 @@ class navigation_cache { * Contructor for the cache. Requires a area string be passed in. * * @param string $area The unique string to segregate this particular cache. - * @param int $timeout The number of seconds to time the information out after + * @param int $timeout Deprecated since Moodle 4.5. The number of seconds to time the information out after */ public function __construct($area, $timeout = null) { if ($timeout !== null) {