remove old hack for string input
parent
8cd30321f2
commit
b421597c38
|
@ -299,8 +299,7 @@ class API(object):
|
||||||
non-nil, will include a "messages" key with the object, whose sole
|
non-nil, will include a "messages" key with the object, whose sole
|
||||||
content is the original message (post_id 0).
|
content is the original message (post_id 0).
|
||||||
"""
|
"""
|
||||||
op = isinstance(args, dict) and args.get("include_op")
|
threads = db.thread_index(database, include_op=args.get("include_op"))
|
||||||
threads = db.thread_index(database, include_op=op)
|
|
||||||
cherrypy.thread_data.usermap = create_usermap(database, threads, True)
|
cherrypy.thread_data.usermap = create_usermap(database, threads, True)
|
||||||
return threads
|
return threads
|
||||||
thread_index.doctype = "Threads & Messages"
|
thread_index.doctype = "Threads & Messages"
|
||||||
|
|
Loading…
Reference in New Issue