concrete/controllers/single_page/dashboard/reports/forms/legacy.php
private function deleteForm($bID, $qsID)
    {
        $db = Loader::db();
        $this->deleteFormAnswers($qsID);

        $v = [intval($bID)];
        $q = 'DELETE FROM btFormQuestions WHERE bID = ?';
        $r = $db->query($q, $v);

        $q = 'DELETE FROM btForm WHERE bID = ?';
        $r = $db->query($q, $v);

        $q = 'DELETE FROM Blocks WHERE bID = ?';
        $r = $db->query($q, $v);
    }
private function deleteForm($bID, $qsID)
    {
        $db = Loader::db();
        $this->deleteFormAnswers($qsID);

        $v = [intval($bID)];
        $q = 'DELETE FROM btFormQuestions WHERE bID = ?';
        $r = $db->query($q, $v);

        $q = 'DELETE FROM btForm WHERE bID = ?';
        $r = $db->query($q, $v);

        $q = 'DELETE FROM Blocks WHERE bID = ?';
        $r = $db->query($q, $v);
    }
private function deleteForm ( $ bID , $ qsID ) { $ db = Loader :: db ( ) ; $ this -> deleteFormAnswers ( $ qsID ) ; $ v = [ intval ( $ bID ) ] ; $ q = 'DELETE FROM btFormQuestions WHERE bID = ?' ; $ r = $ db -> query ( $ q , $ v ) ; $ q = 'DELETE FROM btForm WHERE bID = ?' ; $ r = $ db -> query ( $ q , $ v ) ; $ q = 'DELETE FROM Blocks WHERE bID = ?' ; $ r = $ db -> query ( $ q , $ v ) ; }
DELETE FORMS AND ALL SUBMISSIONS
DELETE FORMS AND ALL SUBMISSIONS