Example #1
0
/**
 * Clear all temporary data which are used during import
 */
function phpbb_clear_temporary_data()
{
    // Delete DB tables
    phpbb_table_delete('users');
    phpbb_table_delete('forums');
    phpbb_table_delete('topics');
    // Delete the session variables
    phpbb_unset_var('blog_ID');
    phpbb_unset_var('group_default');
    phpbb_unset_var('all_group_default');
    phpbb_unset_var('users_count_imported');
    phpbb_unset_var('users_count_updated');
    phpbb_unset_var('forums_count_imported');
    phpbb_unset_var('topics_count_imported');
    phpbb_unset_var('replies_count_imported');
    phpbb_unset_var('messages_count_imported');
}
Example #2
0
        // Step 3
        $AdminUI->disp_view('tools/views/_phpbb_users.form.php');
        break;
    case 'forums':
        // Step 4
        $AdminUI->disp_view('tools/views/_phpbb_forums.form.php');
        break;
    case 'topics':
        // Step 5
        $AdminUI->disp_view('tools/views/_phpbb_topics.form.php');
        break;
    case 'replies':
        // Step 6
        $AdminUI->disp_view('tools/views/_phpbb_replies.form.php');
        break;
    case 'messages':
        // Step 7
        $AdminUI->disp_view('tools/views/_phpbb_messages.form.php');
        break;
    case 'config':
        // Step 1
    // Step 1
    default:
        phpbb_unset_var('current_step');
        $AdminUI->disp_view('tools/views/_phpbb_config.form.php');
        break;
}
// End payload block:
$AdminUI->disp_payload_end();
// Display body bottom, debug info and close </html>:
$AdminUI->disp_global_footer();