Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.

With MySQL support removed (b154bc7a10) this constant is unnecessary.
This commit is contained in:
wn_
2025-05-18 14:26:05 +00:00
parent 0acaac7115
commit 2fa54cc627
9 changed files with 18 additions and 17 deletions

View File

@@ -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()