Merge remote-tracking branch 'refs/remotes/origin/php8' into php8

This commit is contained in:
lgb
2024-03-20 14:24:52 +08:00
24 changed files with 437 additions and 21 deletions
+5
View File
@@ -1230,3 +1230,8 @@ function get_snatch_info($torrentId, $userId)
{
return mysql_fetch_assoc(sql_query(sprintf('select * from snatched where torrentid = %s and userid = %s order by id desc limit 1', $torrentId, $userId)));
}
function fire_event(string $name, int $id): void
{
executeCommand("event:fire --name=$name --id=$id", "string", true, false);
}