summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2025-05-18 14:26:05 +0000
committerwn_ <invalid@email.com>2025-05-18 14:26:05 +0000
commit2fa54cc627cd9a370004a48e1b6430a8a9990846 (patch)
tree67a549d12e3224486f3c24036ffadb33cab441df /include/functions.php
parent0acaac7115017f72120a6baea13778563a755238 (diff)
Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.
With MySQL support removed (b154bc7a10e46dc9fa0406996507c4fd410366da) this constant is unnecessary.
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
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()