|
@@ -901,7 +901,7 @@ def delete_user(user_id):
|
|
|
|
|
|
cursor.execute('''
|
|
|
INSERT INTO news(title)
|
|
|
- VALUES (CONCAT ((SELECT username FROM users WHERE rowid = ?), ' retired.'))
|
|
|
+ VALUES ((SELECT username FROM users WHERE rowid = ?) || ' retired.')
|
|
|
''', (user_id,))
|
|
|
|
|
|
cursor.execute('''
|
|
@@ -933,7 +933,7 @@ def delete_ownable(ownable_id):
|
|
|
|
|
|
cursor.execute('''
|
|
|
INSERT INTO news(title)
|
|
|
- VALUES (CONCAT ((SELECT name FROM ownables WHERE rowid = ?), ' can not be traded any more.'))
|
|
|
+ VALUES ((SELECT name FROM ownables WHERE rowid = ?) || ' can not be traded any more.')
|
|
|
''', (ownable_id,))
|
|
|
|
|
|
cursor.execute('''
|