summaryrefslogtreecommitdiff
path: root/classes/Db.php
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 /classes/Db.php
parent54e8ab7e3d4fa99e9acfc069c963fe41cfb0cd32 (diff)
add deprecation notice for sql_random_function()
Diffstat (limited to 'classes/Db.php')
-rw-r--r--classes/Db.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Db.php b/classes/Db.php
index 6310d11e3..872c6b351 100644
--- a/classes/Db.php
+++ b/classes/Db.php
@@ -71,6 +71,7 @@ class Db {
return self::$instance->pdo;
}
+ /** @deprecated usages should be replaced with `RANDOM()` */
public static function sql_random_function(): string {
return "RANDOM()";
}