- replaced mysql_query() with query_appdb()
- removed opendb() - removed query_userdb() - removed error handling from the code as it is done with query_appdb()
This commit is contained in:
@@ -32,8 +32,6 @@ if(!havepriv("admin") &&
|
||||
exit;
|
||||
}
|
||||
|
||||
opendb();
|
||||
|
||||
/* retrieve the parentID of the comment we are deleting */
|
||||
/* so we can fix up the parentIds of this comments children */
|
||||
$result = query_appdb("SELECT parentId FROM appComments WHERE commentId = '".$_REQUEST['commentId']."'");
|
||||
|
||||
Reference in New Issue
Block a user