public static function drop_site() {

        if (!defined('BEHAT_UTIL')) {
            throw new coding_exception('This method can be only used by Behat CLI tool');
        }

        self::reset_dataroot();
        self::drop_database(true);
        self::drop_dataroot();
    }
public static function drop_site() {

        if (!defined('BEHAT_UTIL')) {
            throw new coding_exception('This method can be only used by Behat CLI tool');
        }

        self::reset_dataroot();
        self::drop_database(true);
        self::drop_dataroot();
    }
public static function drop_site ( ) { if ( ! defined ( 'BEHAT_UTIL' ) ) { throw new coding_exception ( 'This method can be only used by Behat CLI tool' ) ; } self :: reset_dataroot ( ) ; self :: drop_database ( true ) ; self :: drop_dataroot ( ) ; }
Drops dataroot and remove test database tables
@throws coding_exception
@return void
Drops dataroot and remove test database tables