From 2fa54cc627cd9a370004a48e1b6430a8a9990846 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 18 May 2025 14:26:05 +0000 Subject: Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant. With MySQL support removed (b154bc7a10e46dc9fa0406996507c4fd410366da) this constant is unnecessary. --- include/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index fc79d2fca..f100e3046 100644 --- a/include/functions.php +++ b/include/functions.php @@ -23,7 +23,8 @@ require_once "autoload.php"; - define('SUBSTRING_FOR_DATE', 'SUBSTRING_FOR_DATE'); + /** @deprecated use the 'SUBSTRING_FOR_DATE' string directly */ + const SUBSTRING_FOR_DATE = 'SUBSTRING_FOR_DATE'; /** * @deprecated by Prefs::get() -- cgit v1.2.3-54-g00ecf