mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-08 13:44:39 +02:00
* Remove old dependency
* Add string-format dep. * Convert various strUtil.format() -> String.prototype.format() based system
This commit is contained in:
parent
140990811a
commit
ede00f8937
7 changed files with 57 additions and 32 deletions
|
@ -87,9 +87,9 @@ function getMessageListForArea(options, areaName, cb) {
|
|||
[
|
||||
function fetchMessages(callback) {
|
||||
msgDb.each(
|
||||
'SELECT message_id, message_uuid, reply_to_message_id, to_user_name, from_user_name, subject, modified_timestamp, view_count '
|
||||
'FROM message '
|
||||
'WHERE area_name=? '
|
||||
'SELECT message_id, message_uuid, reply_to_message_id, to_user_name, from_user_name, subject, modified_timestamp, view_count ' +
|
||||
'FROM message ' +
|
||||
'WHERE area_name=? ' +
|
||||
'ORDER BY message_id;',
|
||||
[ areaName.toLowerCase() ],
|
||||
function msgRow(err, row) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue