function qa_wall_delete_post($userid, $handle, $cookieid, $message)
{
    require_once QA_INCLUDE_DIR . 'qa-db-messages.php';
    qa_db_message_delete($message['messageid']);
    qa_db_user_recount_posts($message['touserid']);
    qa_report_event('u_wall_delete', $userid, $handle, $cookieid, array('messageid' => $message['messageid'], 'oldmessage' => $message));
}
Beispiel #2
0
function qa_pm_delete($userid, $handle, $cookieid, $message, $box)
{
    require_once QA_INCLUDE_DIR . 'db/messages.php';
    qa_db_message_user_hide($message['messageid'], $box);
    qa_db_message_delete($message['messageid'], false);
}