diff options
| author | wn_ <invalid@email.com> | 2025-05-18 14:26:05 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2025-05-18 14:26:05 +0000 |
| commit | 2fa54cc627cd9a370004a48e1b6430a8a9990846 (patch) | |
| tree | 67a549d12e3224486f3c24036ffadb33cab441df /plugins/share | |
| parent | 0acaac7115017f72120a6baea13778563a755238 (diff) | |
Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.
With MySQL support removed (b154bc7a10e46dc9fa0406996507c4fd410366da) this constant is unnecessary.
Diffstat (limited to 'plugins/share')
| -rw-r--r-- | plugins/share/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 8e25dc677..0a2e60dcf 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -123,7 +123,7 @@ class Share extends Plugin { $pdo = Db::pdo(); $sth = $pdo->prepare("SELECT id,title,link,content,feed_id,comments,int_id,lang, - ".SUBSTRING_FOR_DATE."(updated,1,16) as updated, + SUBSTRING_FOR_DATE(updated,1,16) as updated, (SELECT site_url FROM ttrss_feeds WHERE id = feed_id) as site_url, (SELECT title FROM ttrss_feeds WHERE id = feed_id) as feed_title, (SELECT hide_images FROM ttrss_feeds WHERE id = feed_id) as hide_images, |