diff options
Diffstat (limited to 'cgi/api.py')
-rw-r--r-- | cgi/api.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6,7 +6,6 @@ from framework import * from database import * from post import * - def api(self, path_split): if len(path_split) > 2: try: @@ -356,7 +355,7 @@ def api_process(self, path_split): if data_imageonly and data_imageonly == 1: imageonly = True - deletePost(postid, data_password, board['recyclebin'], imageonly) + deletePosts(board['dir'], postid, imageonly, data_password) elif method == 'post': boarddir = formdata.get('board') |