Modify ↓
Opened 15 years ago
Closed 13 years ago
#8286 closed defect (fixed)
Make proper use of the Trac database API
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | high | Component: | PeerReviewPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Olemis Lang | Trac Release: | 0.11 |
Description
The dbEscape function is entirely unnecessary with proper use of the Trac DB API. All of the queries in this plugin need to be rewritten. See t:TracDev/DatabaseApi for more information.
Attachments (0)
Change History (6)
comment:1 Changed 15 years ago by
| Owner: | changed from Sebastian Marek to Ryan J Ollos |
|---|---|
| Status: | new → assigned |
comment:2 Changed 15 years ago by
| Priority: | normal → high |
|---|
comment:3 Changed 14 years ago by
| Owner: | changed from Ryan J Ollos to Marc |
|---|---|
| Status: | assigned → new |
comment:4 Changed 13 years ago by
| Owner: | changed from Marc to Ryan J Ollos |
|---|---|
| Type: | task → defect |
comment:5 Changed 13 years ago by
| Cc: | Olemis Lang added; anonymous removed |
|---|---|
| Status: | new → assigned |
comment:6 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
- Removed obsolete
dbEscapefunction and unnecessary imports. - Formatted some SQL statements per Trac guidelines (1).
Note: See
TracTickets for help on using
tickets.



The
2.2devbranch was moved to thetrunkin [11987], and this issue was mostly fixed in the2.2devbranch. I'll follow with a small commit.