summaryrefslogtreecommitdiff
path: root/plugins/cache_starred_images
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-04-14 15:27:58 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-04-14 15:27:58 +0300
commit3c138a71a1749537680a23aca6d4181b5b2820f0 (patch)
tree584dc0db0e28438159c6f474a653b20100d944cf /plugins/cache_starred_images
parent54e8ab7e3d4fa99e9acfc069c963fe41cfb0cd32 (diff)
add deprecation notice for sql_random_function()
Diffstat (limited to 'plugins/cache_starred_images')
-rwxr-xr-xplugins/cache_starred_images/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php
index cc1eef0dc..48c8df3db 100755
--- a/plugins/cache_starred_images/init.php
+++ b/plugins/cache_starred_images/init.php
@@ -59,7 +59,7 @@ class Cache_Starred_Images extends Plugin {
site_url != '' AND
ttrss_user_entries.owner_uid = ? AND
plugin_data NOT LIKE '%starred_cache_images%'
- ORDER BY ".Db::sql_random_function()." LIMIT 100");
+ ORDER BY RANDOM() LIMIT 100");
if ($sth->execute([$this->host->get_owner_uid()])) {