Skip to content

Commit acde132

Browse files
authored
Merge pull request #947 from jacklul/patch_cleancmd
Fix missing specifier
2 parents 695e63a + 0ced090 commit acde132

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
99
### Deprecated
1010
### Removed
1111
### Fixed
12+
- Missing DB table name specifier in `/cleanup` command. (#947)
1213
### Security
1314

1415
## [0.56.0] - 2019-04-15

src/Commands/AdminCommands/CleanupCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private function getQueries($settings)
306306
SELECT id
307307
FROM (
308308
SELECT id
309-
FROM `message`
309+
FROM `%1$s`
310310
WHERE `date` < \'%2$s\'
311311
AND `id` NOT IN (
312312
SELECT `message_id`

0 commit comments

Comments
 (0)