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.
This commit is contained in:
Jun Pataleta
2024-09-19 11:17:05 +08:00
parent 254f752b76
commit c7cf081097
+1 -1
View File
@@ -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) {