aboutsummaryrefslogtreecommitdiff
path: root/cgi/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/api.py')
-rw-r--r--cgi/api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cgi/api.py b/cgi/api.py
index 7b8b6bd..871e88f 100644
--- a/cgi/api.py
+++ b/cgi/api.py
@@ -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')