Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32930

Improve the performance of mysqli_native_moodle_database->get_tables

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Prerequesists: Moodle install with MySQL, create some random tables with a different prefix to that of your moodle install. So the database should contain a mix of tables with Moodle prefix (e.g. mdl_) and some non-prefixed tables.

      1. Run all phpunit tests
      2. Don manual verification using a script: It can also be tested wit a very simple php script like that:

        require_once('config.php');
        $tables = $DB->get_tables();
        var_dump($tables);

      3. The $tables variable from the code above should be an array containing all prefixed tables and none of the non-prefixed ones.
      Show
      Prerequesists: Moodle install with MySQL, create some random tables with a different prefix to that of your moodle install. So the database should contain a mix of tables with Moodle prefix (e.g. mdl_) and some non-prefixed tables. Run all phpunit tests Don manual verification using a script: It can also be tested wit a very simple php script like that: require_once('config.php'); $tables = $DB->get_tables(); var_dump($tables); The $tables variable from the code above should be an array containing all prefixed tables and none of the non-prefixed ones.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      get_tables function first executes "SHOW TABLES" and then filters out all tables not starting with $this->prefix. Instead, SHOW TABLES LIKE "{$this->prefix}%" would be much more efficient - especially in the situations where there is a lot of tables without $this->prefix prefix (e.g. Moodle & some other application share the same database).

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            skodak Petr Skoda added a comment -

            thanks for spotting it, I already noticed the slowdowns on my test server over time...

            Show
            skodak Petr Skoda added a comment - thanks for spotting it, I already noticed the slowdowns on my test server over time...
            Hide
            skodak Petr Skoda added a comment -

            hi, it looks like the patch is missing special handling for "_" characters in prefix which could result in inclusion of tables with different prefix

            Show
            skodak Petr Skoda added a comment - hi, it looks like the patch is missing special handling for "_" characters in prefix which could result in inclusion of tables with different prefix
            Hide
            tmuras Tomasz Muras added a comment -

            Hi Petr,

            Could you please expand? I don't see any difference in logic between the original get_tables() and patched one. What do you mean by special handling for "_" characters? strlen($this->prefix) is used to remove the prefix - it won't care about what characters are in $this->prefix.

            Show
            tmuras Tomasz Muras added a comment - Hi Petr, Could you please expand? I don't see any difference in logic between the original get_tables() and patched one. What do you mean by special handling for "_" characters? strlen($this->prefix) is used to remove the prefix - it won't care about what characters are in $this->prefix.
            Hide
            skodak Petr Skoda added a comment - - edited

            _

            matches one single arbitrary character in SQL LIKEs, it means that

            LIKE 'mdl_%'

            matches tables 'mdl_config', 'mdl2_config', 'mdl3_config' - see http://www.postgresql.org/docs/8.3/static/functions-matching.html

            Show
            skodak Petr Skoda added a comment - - edited _ matches one single arbitrary character in SQL LIKEs, it means that LIKE 'mdl_%' matches tables 'mdl_config', 'mdl2_config', 'mdl3_config' - see http://www.postgresql.org/docs/8.3/static/functions-matching.html
            Hide
            tmuras Tomasz Muras added a comment -

            You are correct Petr, I've updated the branch.

            Show
            tmuras Tomasz Muras added a comment - You are correct Petr, I've updated the branch.
            Hide
            skodak Petr Skoda added a comment -

            thanks, +1 for integration

            Show
            skodak Petr Skoda added a comment - thanks, +1 for integration
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

            TIA and ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
            Hide
            poltawski Dan Poltawski added a comment -

            Its a bit confusing that you quotes the postgres manual there for MySQL piece of code there. So for record and to ensure other people don't get confused, here is a quote from the MySQL manual:
            "SQL pattern matching enables you to use “_” to match any single character and “%” to match an arbitrary number of characters"
            http://dev.mysql.com/doc/refman/5.5/en/pattern-matching.html

            Show
            poltawski Dan Poltawski added a comment - Its a bit confusing that you quotes the postgres manual there for MySQL piece of code there. So for record and to ensure other people don't get confused, here is a quote from the MySQL manual: "SQL pattern matching enables you to use “_” to match any single character and “%” to match an arbitrary number of characters" http://dev.mysql.com/doc/refman/5.5/en/pattern-matching.html
            Hide
            poltawski Dan Poltawski added a comment -

            I've integrated this now, thanks!

            Show
            poltawski Dan Poltawski added a comment - I've integrated this now, thanks!
            Hide
            andyjdavis Andrew Davis added a comment -

            The phpunit tests give me the following output.

            Time: 31:00, Memory: 252.75Mb
             
            There were 5 failures:
             
            1) dml_testcase::test_unique_index_collation_trouble
            Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation.
             
            /home/andrew/Desktop/code/moodle/int/master/lib/dml/tests/dml_test.php:3428
             
            To re-run:
             phpunit dml_testcase lib/dml/tests/dml_test.php
             
            2) dml_testcase::test_sql_binary_equal
            SQL operator "=" is expected to be case sensitive
            Failed asserting that 1 matches expected 2.
             
            /home/andrew/Desktop/code/moodle/int/master/lib/dml/tests/dml_test.php:3456
             
            To re-run:
             phpunit dml_testcase lib/dml/tests/dml_test.php
             
            3) moodlesimplepie_testcase::test_getfeed
            Failed to load the sample RSS file. Please check your proxy settings in Moodle. %s
            Failed asserting that 'cURL Error: Operation timed out after 2000 milliseconds with 14149 out of 32188 bytes received' is null.
             
            /home/andrew/Desktop/code/moodle/int/master/lib/tests/rsslib_test.php:56
            /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/basic_testcase.php:64
             
            To re-run:
             phpunit moodlesimplepie_testcase lib/tests/rsslib_test.php
             
            4) moodlesimplepie_testcase::test_redirect
            Failed asserting that 'cURL Error: Operation timed out after 2000 milliseconds with 0 bytes received' is null.
             
            /home/andrew/Desktop/code/moodle/int/master/lib/tests/rsslib_test.php:140
            /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/basic_testcase.php:64
             
            To re-run:
             phpunit moodlesimplepie_testcase lib/tests/rsslib_test.php
             
            5) filestoragelib_testcase::test_get_file_preview
            Failed asserting that false is an instance of class "stored_file".
             
            /home/andrew/Desktop/code/moodle/int/master/lib/filestorage/tests/file_storage_test.php:73
            /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/advanced_testcase.php:76
             
            To re-run:
             phpunit filestoragelib_testcase lib/filestorage/tests/file_storage_test.php
             
            FAILURES!
            Tests: 1183, Assertions: 21210, Failures: 5.

            Show
            andyjdavis Andrew Davis added a comment - The phpunit tests give me the following output. Time: 31:00, Memory: 252.75Mb   There were 5 failures:   1) dml_testcase::test_unique_index_collation_trouble Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation.   /home/andrew/Desktop/code/moodle/int/master/lib/dml/tests/dml_test.php:3428   To re-run: phpunit dml_testcase lib/dml/tests/dml_test.php   2) dml_testcase::test_sql_binary_equal SQL operator "=" is expected to be case sensitive Failed asserting that 1 matches expected 2.   /home/andrew/Desktop/code/moodle/int/master/lib/dml/tests/dml_test.php:3456   To re-run: phpunit dml_testcase lib/dml/tests/dml_test.php   3) moodlesimplepie_testcase::test_getfeed Failed to load the sample RSS file. Please check your proxy settings in Moodle. %s Failed asserting that 'cURL Error: Operation timed out after 2000 milliseconds with 14149 out of 32188 bytes received' is null.   /home/andrew/Desktop/code/moodle/int/master/lib/tests/rsslib_test.php:56 /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/basic_testcase.php:64   To re-run: phpunit moodlesimplepie_testcase lib/tests/rsslib_test.php   4) moodlesimplepie_testcase::test_redirect Failed asserting that 'cURL Error: Operation timed out after 2000 milliseconds with 0 bytes received' is null.   /home/andrew/Desktop/code/moodle/int/master/lib/tests/rsslib_test.php:140 /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/basic_testcase.php:64   To re-run: phpunit moodlesimplepie_testcase lib/tests/rsslib_test.php   5) filestoragelib_testcase::test_get_file_preview Failed asserting that false is an instance of class "stored_file".   /home/andrew/Desktop/code/moodle/int/master/lib/filestorage/tests/file_storage_test.php:73 /home/andrew/Desktop/code/moodle/int/master/lib/phpunit/classes/advanced_testcase.php:76   To re-run: phpunit filestoragelib_testcase lib/filestorage/tests/file_storage_test.php   FAILURES! Tests: 1183, Assertions: 21210, Failures: 5.
            Hide
            andyjdavis Andrew Davis added a comment - - edited

            The testing instructions are a bit unclear. Here is what I have done.

            Here is a subset of my config.php

            $CFG->dbtype    = 'mysqli';
            $CFG->dblibrary = 'native';
            $CFG->dbhost    = 'localhost';
            $CFG->dbname    = 'moodle_int_master';
            //$CFG->prefix    = 'mdl_';
            $CFG->prefix    = '';

            I had Moodle isntalled using mdl_ as the prefix. I commented that out, added a prefix line with an empty string. This caused Moodle to install its tables with no prefix.

            I ran the phpunit tests. Output in previous comment.

            Then I ran this test script twice. Once with each prefix.

            <?php
            require_once('config.php');
            var_dump($CFG->prefix);
            $tables = $DB->get_tables();
            print_object($tables);

            The output is below. The no prefix output appears to include the mdl_ tables, the tables with no prefix and tables prefixed with phpu_. This doesn't seem correct. The mdl_ output looks more correct.

            string(0) ""
             
            Array
            (
                [assign] => assign
                [assign_grades] => assign_grades
                [assign_plugin_config] => assign_plugin_config
                [assign_submission] => assign_submission
                [assignfeedback_comments] => assignfeedback_comments
                [assignfeedback_file] => assignfeedback_file
                [assignment] => assignment
                [assignment_submissions] => assignment_submissions
                [assignsubmission_file] => assignsubmission_file
                [assignsubmission_onlinetext] => assignsubmission_onlinetext
                [backup_controllers] => backup_controllers
                [backup_courses] => backup_courses
                [backup_files] => backup_files
                [backup_files_template] => backup_files_template
                [backup_ids] => backup_ids
                [backup_ids_template] => backup_ids_template
                [backup_logs] => backup_logs
                [block] => block
                [block_community] => block_community
                [block_instances] => block_instances
                [block_positions] => block_positions
                [block_rss_client] => block_rss_client
                [blog_association] => blog_association
                [blog_external] => blog_external
                [cache_filters] => cache_filters
                [cache_flags] => cache_flags
                [cache_text] => cache_text
                [capabilities] => capabilities
                [chat] => chat
                [chat_messages] => chat_messages
                [chat_messages_current] => chat_messages_current
                [chat_users] => chat_users
                [choice] => choice
                [choice_answers] => choice_answers
                [choice_options] => choice_options
                [cohort] => cohort
                [cohort_members] => cohort_members
                [comments] => comments
                [config] => config
                [config_log] => config_log
                [config_plugins] => config_plugins
                [context] => context
                [context_temp] => context_temp
                [course] => course
                [course_categories] => course_categories
                [course_completion_aggr_methd] => course_completion_aggr_methd
                [course_completion_crit_compl] => course_completion_crit_compl
                [course_completion_criteria] => course_completion_criteria
                [course_completion_notify] => course_completion_notify
                [course_completions] => course_completions
                [course_modules] => course_modules
                [course_modules_availability] => course_modules_availability
                [course_modules_completion] => course_modules_completion
                [course_published] => course_published
                [course_request] => course_request
                [course_sections] => course_sections
                [data] => data
                [data_content] => data_content
                [data_fields] => data_fields
                [data_records] => data_records
                [enrol] => enrol
                [enrol_authorize] => enrol_authorize
                [enrol_authorize_refunds] => enrol_authorize_refunds
                [enrol_flatfile] => enrol_flatfile
                [enrol_paypal] => enrol_paypal
                [event] => event
                [events_handlers] => events_handlers
                [events_queue] => events_queue
                [events_queue_handlers] => events_queue_handlers
                [external_functions] => external_functions
                [external_services] => external_services
                [external_services_functions] => external_services_functions
                [external_services_users] => external_services_users
                [external_tokens] => external_tokens
                [feedback] => feedback
                [feedback_completed] => feedback_completed
                [feedback_completedtmp] => feedback_completedtmp
                [feedback_item] => feedback_item
                [feedback_sitecourse_map] => feedback_sitecourse_map
                [feedback_template] => feedback_template
                [feedback_tracking] => feedback_tracking
                [feedback_value] => feedback_value
                [feedback_valuetmp] => feedback_valuetmp
                [files] => files
                [filter_active] => filter_active
                [filter_config] => filter_config
                [folder] => folder
                [forum] => forum
                [forum_discussions] => forum_discussions
                [forum_posts] => forum_posts
                [forum_queue] => forum_queue
                [forum_read] => forum_read
                [forum_subscriptions] => forum_subscriptions
                [forum_track_prefs] => forum_track_prefs
                [glossary] => glossary
                [glossary_alias] => glossary_alias
                [glossary_categories] => glossary_categories
                [glossary_entries] => glossary_entries
                [glossary_entries_categories] => glossary_entries_categories
                [glossary_formats] => glossary_formats
                [grade_categories] => grade_categories
                [grade_categories_history] => grade_categories_history
                [grade_grades] => grade_grades
                [grade_grades_history] => grade_grades_history
                [grade_import_newitem] => grade_import_newitem
                [grade_import_values] => grade_import_values
                [grade_items] => grade_items
                [grade_items_history] => grade_items_history
                [grade_letters] => grade_letters
                [grade_outcomes] => grade_outcomes
                [grade_outcomes_courses] => grade_outcomes_courses
                [grade_outcomes_history] => grade_outcomes_history
                [grade_settings] => grade_settings
                [grading_areas] => grading_areas
                [grading_definitions] => grading_definitions
                [grading_instances] => grading_instances
                [gradingform_guide_comments] => gradingform_guide_comments
                [gradingform_guide_criteria] => gradingform_guide_criteria
                [gradingform_guide_fillings] => gradingform_guide_fillings
                [gradingform_rubric_criteria] => gradingform_rubric_criteria
                [gradingform_rubric_fillings] => gradingform_rubric_fillings
                [gradingform_rubric_levels] => gradingform_rubric_levels
                [groupings] => groupings
                [groupings_groups] => groupings_groups
                [groups] => groups
                [groups_members] => groups_members
                [imscp] => imscp
                [label] => label
                [lesson] => lesson
                [lesson_answers] => lesson_answers
                [lesson_attempts] => lesson_attempts
                [lesson_branch] => lesson_branch
                [lesson_grades] => lesson_grades
                [lesson_high_scores] => lesson_high_scores
                [lesson_pages] => lesson_pages
                [lesson_timer] => lesson_timer
                [license] => license
                [log] => log
                [log_display] => log_display
                [log_queries] => log_queries
                [lti] => lti
                [lti_submission] => lti_submission
                [lti_types] => lti_types
                [lti_types_config] => lti_types_config
                [mdl_assign] => mdl_assign
                [mdl_assign_grades] => mdl_assign_grades
                [mdl_assign_plugin_config] => mdl_assign_plugin_config
                [mdl_assign_submission] => mdl_assign_submission
                [mdl_assignfeedback_comments] => mdl_assignfeedback_comments
                [mdl_assignfeedback_file] => mdl_assignfeedback_file
                [mdl_assignment] => mdl_assignment
                [mdl_assignment_submissions] => mdl_assignment_submissions
                [mdl_assignsubmission_file] => mdl_assignsubmission_file
                [mdl_assignsubmission_onlinetext] => mdl_assignsubmission_onlinetext
                [mdl_backup_controllers] => mdl_backup_controllers
                [mdl_backup_courses] => mdl_backup_courses
                [mdl_backup_files] => mdl_backup_files
                [mdl_backup_files_template] => mdl_backup_files_template
                [mdl_backup_ids] => mdl_backup_ids
                [mdl_backup_ids_template] => mdl_backup_ids_template
                [mdl_backup_logs] => mdl_backup_logs
                [mdl_block] => mdl_block
                [mdl_block_community] => mdl_block_community
                [mdl_block_instances] => mdl_block_instances
                [mdl_block_positions] => mdl_block_positions
                [mdl_block_rss_client] => mdl_block_rss_client
                [mdl_blog_association] => mdl_blog_association
                [mdl_blog_external] => mdl_blog_external
                [mdl_cache_filters] => mdl_cache_filters
                [mdl_cache_flags] => mdl_cache_flags
                [mdl_cache_text] => mdl_cache_text
                [mdl_capabilities] => mdl_capabilities
                [mdl_chat] => mdl_chat
                [mdl_chat_messages] => mdl_chat_messages
                [mdl_chat_messages_current] => mdl_chat_messages_current
                [mdl_chat_users] => mdl_chat_users
                [mdl_choice] => mdl_choice
                [mdl_choice_answers] => mdl_choice_answers
                [mdl_choice_options] => mdl_choice_options
                [mdl_cohort] => mdl_cohort
                [mdl_cohort_members] => mdl_cohort_members
                [mdl_comments] => mdl_comments
                [mdl_config] => mdl_config
                [mdl_config_log] => mdl_config_log
                [mdl_config_plugins] => mdl_config_plugins
                [mdl_context] => mdl_context
                [mdl_context_temp] => mdl_context_temp
                [mdl_course] => mdl_course
                [mdl_course_categories] => mdl_course_categories
                [mdl_course_completion_aggr_methd] => mdl_course_completion_aggr_methd
                [mdl_course_completion_crit_compl] => mdl_course_completion_crit_compl
                [mdl_course_completion_criteria] => mdl_course_completion_criteria
                [mdl_course_completion_notify] => mdl_course_completion_notify
                [mdl_course_completions] => mdl_course_completions
                [mdl_course_modules] => mdl_course_modules
                [mdl_course_modules_availability] => mdl_course_modules_availability
                [mdl_course_modules_completion] => mdl_course_modules_completion
                [mdl_course_published] => mdl_course_published
                [mdl_course_request] => mdl_course_request
                [mdl_course_sections] => mdl_course_sections
                [mdl_data] => mdl_data
                [mdl_data_content] => mdl_data_content
                [mdl_data_fields] => mdl_data_fields
                [mdl_data_records] => mdl_data_records
                [mdl_enrol] => mdl_enrol
                [mdl_enrol_authorize] => mdl_enrol_authorize
                [mdl_enrol_authorize_refunds] => mdl_enrol_authorize_refunds
                [mdl_enrol_flatfile] => mdl_enrol_flatfile
                [mdl_enrol_paypal] => mdl_enrol_paypal
                [mdl_event] => mdl_event
                [mdl_events_handlers] => mdl_events_handlers
                [mdl_events_queue] => mdl_events_queue
                [mdl_events_queue_handlers] => mdl_events_queue_handlers
                [mdl_external_functions] => mdl_external_functions
                [mdl_external_services] => mdl_external_services
                [mdl_external_services_functions] => mdl_external_services_functions
                [mdl_external_services_users] => mdl_external_services_users
                [mdl_external_tokens] => mdl_external_tokens
                [mdl_feedback] => mdl_feedback
                [mdl_feedback_completed] => mdl_feedback_completed
                [mdl_feedback_completedtmp] => mdl_feedback_completedtmp
                [mdl_feedback_item] => mdl_feedback_item
                [mdl_feedback_sitecourse_map] => mdl_feedback_sitecourse_map
                [mdl_feedback_template] => mdl_feedback_template
                [mdl_feedback_tracking] => mdl_feedback_tracking
                [mdl_feedback_value] => mdl_feedback_value
                [mdl_feedback_valuetmp] => mdl_feedback_valuetmp
                [mdl_files] => mdl_files
                [mdl_filter_active] => mdl_filter_active
                [mdl_filter_config] => mdl_filter_config
                [mdl_folder] => mdl_folder
                [mdl_forum] => mdl_forum
                [mdl_forum_discussions] => mdl_forum_discussions
                [mdl_forum_posts] => mdl_forum_posts
                [mdl_forum_queue] => mdl_forum_queue
                [mdl_forum_read] => mdl_forum_read
                [mdl_forum_subscriptions] => mdl_forum_subscriptions
                [mdl_forum_track_prefs] => mdl_forum_track_prefs
                [mdl_glossary] => mdl_glossary
                [mdl_glossary_alias] => mdl_glossary_alias
                [mdl_glossary_categories] => mdl_glossary_categories
                [mdl_glossary_entries] => mdl_glossary_entries
                [mdl_glossary_entries_categories] => mdl_glossary_entries_categories
                [mdl_glossary_formats] => mdl_glossary_formats
                [mdl_grade_categories] => mdl_grade_categories
                [mdl_grade_categories_history] => mdl_grade_categories_history
                [mdl_grade_grades] => mdl_grade_grades
                [mdl_grade_grades_history] => mdl_grade_grades_history
                [mdl_grade_import_newitem] => mdl_grade_import_newitem
                [mdl_grade_import_values] => mdl_grade_import_values
                [mdl_grade_items] => mdl_grade_items
                [mdl_grade_items_history] => mdl_grade_items_history
                [mdl_grade_letters] => mdl_grade_letters
                [mdl_grade_outcomes] => mdl_grade_outcomes
                [mdl_grade_outcomes_courses] => mdl_grade_outcomes_courses
                [mdl_grade_outcomes_history] => mdl_grade_outcomes_history
                [mdl_grade_settings] => mdl_grade_settings
                [mdl_grading_areas] => mdl_grading_areas
                [mdl_grading_definitions] => mdl_grading_definitions
                [mdl_grading_instances] => mdl_grading_instances
                [mdl_gradingform_guide_comments] => mdl_gradingform_guide_comments
                [mdl_gradingform_guide_criteria] => mdl_gradingform_guide_criteria
                [mdl_gradingform_guide_fillings] => mdl_gradingform_guide_fillings
                [mdl_gradingform_rubric_criteria] => mdl_gradingform_rubric_criteria
                [mdl_gradingform_rubric_fillings] => mdl_gradingform_rubric_fillings
                [mdl_gradingform_rubric_levels] => mdl_gradingform_rubric_levels
                [mdl_groupings] => mdl_groupings
                [mdl_groupings_groups] => mdl_groupings_groups
                [mdl_groups] => mdl_groups
                [mdl_groups_members] => mdl_groups_members
                [mdl_imscp] => mdl_imscp
                [mdl_label] => mdl_label
                [mdl_lesson] => mdl_lesson
                [mdl_lesson_answers] => mdl_lesson_answers
                [mdl_lesson_attempts] => mdl_lesson_attempts
                [mdl_lesson_branch] => mdl_lesson_branch
                [mdl_lesson_grades] => mdl_lesson_grades
                [mdl_lesson_high_scores] => mdl_lesson_high_scores
                [mdl_lesson_pages] => mdl_lesson_pages
                [mdl_lesson_timer] => mdl_lesson_timer
                [mdl_license] => mdl_license
                [mdl_log] => mdl_log
                [mdl_log_display] => mdl_log_display
                [mdl_log_queries] => mdl_log_queries
                [mdl_lti] => mdl_lti
                [mdl_lti_submission] => mdl_lti_submission
                [mdl_lti_types] => mdl_lti_types
                [mdl_lti_types_config] => mdl_lti_types_config
                [mdl_message] => mdl_message
                [mdl_message_contacts] => mdl_message_contacts
                [mdl_message_processors] => mdl_message_processors
                [mdl_message_providers] => mdl_message_providers
                [mdl_message_read] => mdl_message_read
                [mdl_message_working] => mdl_message_working
                [mdl_mnet_application] => mdl_mnet_application
                [mdl_mnet_host] => mdl_mnet_host
                [mdl_mnet_host2service] => mdl_mnet_host2service
                [mdl_mnet_log] => mdl_mnet_log
                [mdl_mnet_remote_rpc] => mdl_mnet_remote_rpc
                [mdl_mnet_remote_service2rpc] => mdl_mnet_remote_service2rpc
                [mdl_mnet_rpc] => mdl_mnet_rpc
                [mdl_mnet_service] => mdl_mnet_service
                [mdl_mnet_service2rpc] => mdl_mnet_service2rpc
                [mdl_mnet_session] => mdl_mnet_session
                [mdl_mnet_sso_access_control] => mdl_mnet_sso_access_control
                [mdl_mnetservice_enrol_courses] => mdl_mnetservice_enrol_courses
                [mdl_mnetservice_enrol_enrolments] => mdl_mnetservice_enrol_enrolments
                [mdl_modules] => mdl_modules
                [mdl_my_pages] => mdl_my_pages
                [mdl_page] => mdl_page
                [mdl_portfolio_instance] => mdl_portfolio_instance
                [mdl_portfolio_instance_config] => mdl_portfolio_instance_config
                [mdl_portfolio_instance_user] => mdl_portfolio_instance_user
                [mdl_portfolio_log] => mdl_portfolio_log
                [mdl_portfolio_mahara_queue] => mdl_portfolio_mahara_queue
                [mdl_portfolio_tempdata] => mdl_portfolio_tempdata
                [mdl_post] => mdl_post
                [mdl_profiling] => mdl_profiling
                [mdl_qtype_essay_options] => mdl_qtype_essay_options
                [mdl_question] => mdl_question
                [mdl_question_answers] => mdl_question_answers
                [mdl_question_attempt_step_data] => mdl_question_attempt_step_data
                [mdl_question_attempt_steps] => mdl_question_attempt_steps
                [mdl_question_attempts] => mdl_question_attempts
                [mdl_question_calculated] => mdl_question_calculated
                [mdl_question_calculated_options] => mdl_question_calculated_options
                [mdl_question_categories] => mdl_question_categories
                [mdl_question_dataset_definitions] => mdl_question_dataset_definitions
                [mdl_question_dataset_items] => mdl_question_dataset_items
                [mdl_question_datasets] => mdl_question_datasets
                [mdl_question_hints] => mdl_question_hints
                [mdl_question_match] => mdl_question_match
                [mdl_question_match_sub] => mdl_question_match_sub
                [mdl_question_multianswer] => mdl_question_multianswer
                [mdl_question_multichoice] => mdl_question_multichoice
                [mdl_question_numerical] => mdl_question_numerical
                [mdl_question_numerical_options] => mdl_question_numerical_options
                [mdl_question_numerical_units] => mdl_question_numerical_units
                [mdl_question_randomsamatch] => mdl_question_randomsamatch
                [mdl_question_sessions] => mdl_question_sessions
                [mdl_question_shortanswer] => mdl_question_shortanswer
                [mdl_question_states] => mdl_question_states
                [mdl_question_truefalse] => mdl_question_truefalse
                [mdl_question_usages] => mdl_question_usages
                [mdl_quiz] => mdl_quiz
                [mdl_quiz_attempts] => mdl_quiz_attempts
                [mdl_quiz_feedback] => mdl_quiz_feedback
                [mdl_quiz_grades] => mdl_quiz_grades
                [mdl_quiz_overrides] => mdl_quiz_overrides
                [mdl_quiz_overview_regrades] => mdl_quiz_overview_regrades
                [mdl_quiz_question_instances] => mdl_quiz_question_instances
                [mdl_quiz_question_response_stats] => mdl_quiz_question_response_stats
                [mdl_quiz_question_statistics] => mdl_quiz_question_statistics
                [mdl_quiz_reports] => mdl_quiz_reports
                [mdl_quiz_statistics] => mdl_quiz_statistics
                [mdl_rating] => mdl_rating
                [mdl_registration_hubs] => mdl_registration_hubs
                [mdl_repository] => mdl_repository
                [mdl_repository_instance_config] => mdl_repository_instance_config
                [mdl_repository_instances] => mdl_repository_instances
                [mdl_resource] => mdl_resource
                [mdl_resource_old] => mdl_resource_old
                [mdl_role] => mdl_role
                [mdl_role_allow_assign] => mdl_role_allow_assign
                [mdl_role_allow_override] => mdl_role_allow_override
                [mdl_role_allow_switch] => mdl_role_allow_switch
                [mdl_role_assignments] => mdl_role_assignments
                [mdl_role_capabilities] => mdl_role_capabilities
                [mdl_role_context_levels] => mdl_role_context_levels
                [mdl_role_names] => mdl_role_names
                [mdl_role_sortorder] => mdl_role_sortorder
                [mdl_scale] => mdl_scale
                [mdl_scale_history] => mdl_scale_history
                [mdl_scorm] => mdl_scorm
                [mdl_scorm_aicc_session] => mdl_scorm_aicc_session
                [mdl_scorm_scoes] => mdl_scorm_scoes
                [mdl_scorm_scoes_data] => mdl_scorm_scoes_data
                [mdl_scorm_scoes_track] => mdl_scorm_scoes_track
                [mdl_scorm_seq_mapinfo] => mdl_scorm_seq_mapinfo
                [mdl_scorm_seq_objective] => mdl_scorm_seq_objective
                [mdl_scorm_seq_rolluprule] => mdl_scorm_seq_rolluprule
                [mdl_scorm_seq_rolluprulecond] => mdl_scorm_seq_rolluprulecond
                [mdl_scorm_seq_rulecond] => mdl_scorm_seq_rulecond
                [mdl_scorm_seq_ruleconds] => mdl_scorm_seq_ruleconds
                [mdl_sessions] => mdl_sessions
                [mdl_stats_daily] => mdl_stats_daily
                [mdl_stats_monthly] => mdl_stats_monthly
                [mdl_stats_user_daily] => mdl_stats_user_daily
                [mdl_stats_user_monthly] => mdl_stats_user_monthly
                [mdl_stats_user_weekly] => mdl_stats_user_weekly
                [mdl_stats_weekly] => mdl_stats_weekly
                [mdl_survey] => mdl_survey
                [mdl_survey_analysis] => mdl_survey_analysis
                [mdl_survey_answers] => mdl_survey_answers
                [mdl_survey_questions] => mdl_survey_questions
                [mdl_tag] => mdl_tag
                [mdl_tag_correlation] => mdl_tag_correlation
                [mdl_tag_instance] => mdl_tag_instance
                [mdl_timezone] => mdl_timezone
                [mdl_tool_customlang] => mdl_tool_customlang
                [mdl_tool_customlang_components] => mdl_tool_customlang_components
                [mdl_upgrade_log] => mdl_upgrade_log
                [mdl_url] => mdl_url
                [mdl_user] => mdl_user
                [mdl_user_enrolments] => mdl_user_enrolments
                [mdl_user_info_category] => mdl_user_info_category
                [mdl_user_info_data] => mdl_user_info_data
                [mdl_user_info_field] => mdl_user_info_field
                [mdl_user_lastaccess] => mdl_user_lastaccess
                [mdl_user_preferences] => mdl_user_preferences
                [mdl_user_private_key] => mdl_user_private_key
                [mdl_webdav_locks] => mdl_webdav_locks
                [mdl_wiki] => mdl_wiki
                [mdl_wiki_links] => mdl_wiki_links
                [mdl_wiki_locks] => mdl_wiki_locks
                [mdl_wiki_pages] => mdl_wiki_pages
                [mdl_wiki_subwikis] => mdl_wiki_subwikis
                [mdl_wiki_synonyms] => mdl_wiki_synonyms
                [mdl_wiki_versions] => mdl_wiki_versions
                [mdl_workshop] => mdl_workshop
                [mdl_workshop_aggregations] => mdl_workshop_aggregations
                [mdl_workshop_assessments] => mdl_workshop_assessments
                [mdl_workshop_assessments_old] => mdl_workshop_assessments_old
                [mdl_workshop_comments_old] => mdl_workshop_comments_old
                [mdl_workshop_elements_old] => mdl_workshop_elements_old
                [mdl_workshop_grades] => mdl_workshop_grades
                [mdl_workshop_grades_old] => mdl_workshop_grades_old
                [mdl_workshop_old] => mdl_workshop_old
                [mdl_workshop_rubrics_old] => mdl_workshop_rubrics_old
                [mdl_workshop_stockcomments_old] => mdl_workshop_stockcomments_old
                [mdl_workshop_submissions] => mdl_workshop_submissions
                [mdl_workshop_submissions_old] => mdl_workshop_submissions_old
                [mdl_workshopallocation_scheduled] => mdl_workshopallocation_scheduled
                [mdl_workshopeval_best_settings] => mdl_workshopeval_best_settings
                [mdl_workshopform_accumulative] => mdl_workshopform_accumulative
                [mdl_workshopform_comments] => mdl_workshopform_comments
                [mdl_workshopform_numerrors] => mdl_workshopform_numerrors
                [mdl_workshopform_numerrors_map] => mdl_workshopform_numerrors_map
                [mdl_workshopform_rubric] => mdl_workshopform_rubric
                [mdl_workshopform_rubric_config] => mdl_workshopform_rubric_config
                [mdl_workshopform_rubric_levels] => mdl_workshopform_rubric_levels
                [message] => message
                [message_contacts] => message_contacts
                [message_processors] => message_processors
                [message_providers] => message_providers
                [message_read] => message_read
                [message_working] => message_working
                [mnet_application] => mnet_application
                [mnet_host] => mnet_host
                [mnet_host2service] => mnet_host2service
                [mnet_log] => mnet_log
                [mnet_remote_rpc] => mnet_remote_rpc
                [mnet_remote_service2rpc] => mnet_remote_service2rpc
                [mnet_rpc] => mnet_rpc
                [mnet_service] => mnet_service
                [mnet_service2rpc] => mnet_service2rpc
                [mnet_session] => mnet_session
                [mnet_sso_access_control] => mnet_sso_access_control
                [mnetservice_enrol_courses] => mnetservice_enrol_courses
                [mnetservice_enrol_enrolments] => mnetservice_enrol_enrolments
                [modules] => modules
                [my_pages] => my_pages
                [page] => page
                [phpu_assign] => phpu_assign
                [phpu_assign_grades] => phpu_assign_grades
                [phpu_assign_plugin_config] => phpu_assign_plugin_config
                [phpu_assign_submission] => phpu_assign_submission
                [phpu_assignfeedback_comments] => phpu_assignfeedback_comments
                [phpu_assignfeedback_file] => phpu_assignfeedback_file
                [phpu_assignment] => phpu_assignment
                [phpu_assignment_submissions] => phpu_assignment_submissions
                [phpu_assignsubmission_file] => phpu_assignsubmission_file
                [phpu_assignsubmission_onlinetext] => phpu_assignsubmission_onlinetext
                [phpu_backup_controllers] => phpu_backup_controllers
                [phpu_backup_courses] => phpu_backup_courses
                [phpu_backup_files] => phpu_backup_files
                [phpu_backup_files_template] => phpu_backup_files_template
                [phpu_backup_ids] => phpu_backup_ids
                [phpu_backup_ids_template] => phpu_backup_ids_template
                [phpu_backup_logs] => phpu_backup_logs
                [phpu_block] => phpu_block
                [phpu_block_community] => phpu_block_community
                [phpu_block_instances] => phpu_block_instances
                [phpu_block_positions] => phpu_block_positions
                [phpu_block_rss_client] => phpu_block_rss_client
                [phpu_blog_association] => phpu_blog_association
                [phpu_blog_external] => phpu_blog_external
                [phpu_cache_filters] => phpu_cache_filters
                [phpu_cache_flags] => phpu_cache_flags
                [phpu_cache_text] => phpu_cache_text
                [phpu_capabilities] => phpu_capabilities
                [phpu_chat] => phpu_chat
                [phpu_chat_messages] => phpu_chat_messages
                [phpu_chat_messages_current] => phpu_chat_messages_current
                [phpu_chat_users] => phpu_chat_users
                [phpu_choice] => phpu_choice
                [phpu_choice_answers] => phpu_choice_answers
                [phpu_choice_options] => phpu_choice_options
                [phpu_cohort] => phpu_cohort
                [phpu_cohort_members] => phpu_cohort_members
                [phpu_comments] => phpu_comments
                [phpu_config] => phpu_config
                [phpu_config_log] => phpu_config_log
                [phpu_config_plugins] => phpu_config_plugins
                [phpu_context] => phpu_context
                [phpu_context_temp] => phpu_context_temp
                [phpu_course] => phpu_course
                [phpu_course_categories] => phpu_course_categories
                [phpu_course_completion_aggr_methd] => phpu_course_completion_aggr_methd
                [phpu_course_completion_crit_compl] => phpu_course_completion_crit_compl
                [phpu_course_completion_criteria] => phpu_course_completion_criteria
                [phpu_course_completion_notify] => phpu_course_completion_notify
                [phpu_course_completions] => phpu_course_completions
                [phpu_course_modules] => phpu_course_modules
                [phpu_course_modules_availability] => phpu_course_modules_availability
                [phpu_course_modules_completion] => phpu_course_modules_completion
                [phpu_course_published] => phpu_course_published
                [phpu_course_request] => phpu_course_request
                [phpu_course_sections] => phpu_course_sections
                [phpu_data] => phpu_data
                [phpu_data_content] => phpu_data_content
                [phpu_data_fields] => phpu_data_fields
                [phpu_data_records] => phpu_data_records
                [phpu_enrol] => phpu_enrol
                [phpu_enrol_authorize] => phpu_enrol_authorize
                [phpu_enrol_authorize_refunds] => phpu_enrol_authorize_refunds
                [phpu_enrol_flatfile] => phpu_enrol_flatfile
                [phpu_enrol_paypal] => phpu_enrol_paypal
                [phpu_event] => phpu_event
                [phpu_events_handlers] => phpu_events_handlers
                [phpu_events_queue] => phpu_events_queue
                [phpu_events_queue_handlers] => phpu_events_queue_handlers
                [phpu_external_functions] => phpu_external_functions
                [phpu_external_services] => phpu_external_services
                [phpu_external_services_functions] => phpu_external_services_functions
                [phpu_external_services_users] => phpu_external_services_users
                [phpu_external_tokens] => phpu_external_tokens
                [phpu_feedback] => phpu_feedback
                [phpu_feedback_completed] => phpu_feedback_completed
                [phpu_feedback_completedtmp] => phpu_feedback_completedtmp
                [phpu_feedback_item] => phpu_feedback_item
                [phpu_feedback_sitecourse_map] => phpu_feedback_sitecourse_map
                [phpu_feedback_template] => phpu_feedback_template
                [phpu_feedback_tracking] => phpu_feedback_tracking
                [phpu_feedback_value] => phpu_feedback_value
                [phpu_feedback_valuetmp] => phpu_feedback_valuetmp
                [phpu_files] => phpu_files
                [phpu_filter_active] => phpu_filter_active
                [phpu_filter_config] => phpu_filter_config
                [phpu_folder] => phpu_folder
                [phpu_forum] => phpu_forum
                [phpu_forum_discussions] => phpu_forum_discussions
                [phpu_forum_posts] => phpu_forum_posts
                [phpu_forum_queue] => phpu_forum_queue
                [phpu_forum_read] => phpu_forum_read
                [phpu_forum_subscriptions] => phpu_forum_subscriptions
                [phpu_forum_track_prefs] => phpu_forum_track_prefs
                [phpu_glossary] => phpu_glossary
                [phpu_glossary_alias] => phpu_glossary_alias
                [phpu_glossary_categories] => phpu_glossary_categories
                [phpu_glossary_entries] => phpu_glossary_entries
                [phpu_glossary_entries_categories] => phpu_glossary_entries_categories
                [phpu_glossary_formats] => phpu_glossary_formats
                [phpu_grade_categories] => phpu_grade_categories
                [phpu_grade_categories_history] => phpu_grade_categories_history
                [phpu_grade_grades] => phpu_grade_grades
                [phpu_grade_grades_history] => phpu_grade_grades_history
                [phpu_grade_import_newitem] => phpu_grade_import_newitem
                [phpu_grade_import_values] => phpu_grade_import_values
                [phpu_grade_items] => phpu_grade_items
                [phpu_grade_items_history] => phpu_grade_items_history
                [phpu_grade_letters] => phpu_grade_letters
                [phpu_grade_outcomes] => phpu_grade_outcomes
                [phpu_grade_outcomes_courses] => phpu_grade_outcomes_courses
                [phpu_grade_outcomes_history] => phpu_grade_outcomes_history
                [phpu_grade_settings] => phpu_grade_settings
                [phpu_grading_areas] => phpu_grading_areas
                [phpu_grading_definitions] => phpu_grading_definitions
                [phpu_grading_instances] => phpu_grading_instances
                [phpu_gradingform_guide_comments] => phpu_gradingform_guide_comments
                [phpu_gradingform_guide_criteria] => phpu_gradingform_guide_criteria
                [phpu_gradingform_guide_fillings] => phpu_gradingform_guide_fillings
                [phpu_gradingform_rubric_criteria] => phpu_gradingform_rubric_criteria
                [phpu_gradingform_rubric_fillings] => phpu_gradingform_rubric_fillings
                [phpu_gradingform_rubric_levels] => phpu_gradingform_rubric_levels
                [phpu_groupings] => phpu_groupings
                [phpu_groupings_groups] => phpu_groupings_groups
                [phpu_groups] => phpu_groups
                [phpu_groups_members] => phpu_groups_members
                [phpu_imscp] => phpu_imscp
                [phpu_label] => phpu_label
                [phpu_lesson] => phpu_lesson
                [phpu_lesson_answers] => phpu_lesson_answers
                [phpu_lesson_attempts] => phpu_lesson_attempts
                [phpu_lesson_branch] => phpu_lesson_branch
                [phpu_lesson_grades] => phpu_lesson_grades
                [phpu_lesson_high_scores] => phpu_lesson_high_scores
                [phpu_lesson_pages] => phpu_lesson_pages
                [phpu_lesson_timer] => phpu_lesson_timer
                [phpu_license] => phpu_license
                [phpu_log] => phpu_log
                [phpu_log_display] => phpu_log_display
                [phpu_log_queries] => phpu_log_queries
                [phpu_lti] => phpu_lti
                [phpu_lti_submission] => phpu_lti_submission
                [phpu_lti_types] => phpu_lti_types
                [phpu_lti_types_config] => phpu_lti_types_config
                [phpu_message] => phpu_message
                [phpu_message_contacts] => phpu_message_contacts
                [phpu_message_processors] => phpu_message_processors
                [phpu_message_providers] => phpu_message_providers
                [phpu_message_read] => phpu_message_read
                [phpu_message_working] => phpu_message_working
                [phpu_mnet_application] => phpu_mnet_application
                [phpu_mnet_host] => phpu_mnet_host
                [phpu_mnet_host2service] => phpu_mnet_host2service
                [phpu_mnet_log] => phpu_mnet_log
                [phpu_mnet_remote_rpc] => phpu_mnet_remote_rpc
                [phpu_mnet_remote_service2rpc] => phpu_mnet_remote_service2rpc
                [phpu_mnet_rpc] => phpu_mnet_rpc
                [phpu_mnet_service] => phpu_mnet_service
                [phpu_mnet_service2rpc] => phpu_mnet_service2rpc
                [phpu_mnet_session] => phpu_mnet_session
                [phpu_mnet_sso_access_control] => phpu_mnet_sso_access_control
                [phpu_mnetservice_enrol_courses] => phpu_mnetservice_enrol_courses
                [phpu_mnetservice_enrol_enrolments] => phpu_mnetservice_enrol_enrolments
                [phpu_modules] => phpu_modules
                [phpu_my_pages] => phpu_my_pages
                [phpu_page] => phpu_page
                [phpu_portfolio_instance] => phpu_portfolio_instance
                [phpu_portfolio_instance_config] => phpu_portfolio_instance_config
                [phpu_portfolio_instance_user] => phpu_portfolio_instance_user
                [phpu_portfolio_log] => phpu_portfolio_log
                [phpu_portfolio_mahara_queue] => phpu_portfolio_mahara_queue
                [phpu_portfolio_tempdata] => phpu_portfolio_tempdata
                [phpu_post] => phpu_post
                [phpu_profiling] => phpu_profiling
                [phpu_qtype_essay_options] => phpu_qtype_essay_options
                [phpu_question] => phpu_question
                [phpu_question_answers] => phpu_question_answers
                [phpu_question_attempt_step_data] => phpu_question_attempt_step_data
                [phpu_question_attempt_steps] => phpu_question_attempt_steps
                [phpu_question_attempts] => phpu_question_attempts
                [phpu_question_calculated] => phpu_question_calculated
                [phpu_question_calculated_options] => phpu_question_calculated_options
                [phpu_question_categories] => phpu_question_categories
                [phpu_question_dataset_definitions] => phpu_question_dataset_definitions
                [phpu_question_dataset_items] => phpu_question_dataset_items
                [phpu_question_datasets] => phpu_question_datasets
                [phpu_question_hints] => phpu_question_hints
                [phpu_question_match] => phpu_question_match
                [phpu_question_match_sub] => phpu_question_match_sub
                [phpu_question_multianswer] => phpu_question_multianswer
                [phpu_question_multichoice] => phpu_question_multichoice
                [phpu_question_numerical] => phpu_question_numerical
                [phpu_question_numerical_options] => phpu_question_numerical_options
                [phpu_question_numerical_units] => phpu_question_numerical_units
                [phpu_question_randomsamatch] => phpu_question_randomsamatch
                [phpu_question_sessions] => phpu_question_sessions
                [phpu_question_shortanswer] => phpu_question_shortanswer
                [phpu_question_states] => phpu_question_states
                [phpu_question_truefalse] => phpu_question_truefalse
                [phpu_question_usages] => phpu_question_usages
                [phpu_quiz] => phpu_quiz
                [phpu_quiz_attempts] => phpu_quiz_attempts
                [phpu_quiz_feedback] => phpu_quiz_feedback
                [phpu_quiz_grades] => phpu_quiz_grades
                [phpu_quiz_overrides] => phpu_quiz_overrides
                [phpu_quiz_overview_regrades] => phpu_quiz_overview_regrades
                [phpu_quiz_question_instances] => phpu_quiz_question_instances
                [phpu_quiz_question_response_stats] => phpu_quiz_question_response_stats
                [phpu_quiz_question_statistics] => phpu_quiz_question_statistics
                [phpu_quiz_reports] => phpu_quiz_reports
                [phpu_quiz_statistics] => phpu_quiz_statistics
                [phpu_rating] => phpu_rating
                [phpu_registration_hubs] => phpu_registration_hubs
                [phpu_repository] => phpu_repository
                [phpu_repository_instance_config] => phpu_repository_instance_config
                [phpu_repository_instances] => phpu_repository_instances
                [phpu_resource] => phpu_resource
                [phpu_resource_old] => phpu_resource_old
                [phpu_role] => phpu_role
                [phpu_role_allow_assign] => phpu_role_allow_assign
                [phpu_role_allow_override] => phpu_role_allow_override
                [phpu_role_allow_switch] => phpu_role_allow_switch
                [phpu_role_assignments] => phpu_role_assignments
                [phpu_role_capabilities] => phpu_role_capabilities
                [phpu_role_context_levels] => phpu_role_context_levels
                [phpu_role_names] => phpu_role_names
                [phpu_role_sortorder] => phpu_role_sortorder
                [phpu_scale] => phpu_scale
                [phpu_scale_history] => phpu_scale_history
                [phpu_scorm] => phpu_scorm
                [phpu_scorm_aicc_session] => phpu_scorm_aicc_session
                [phpu_scorm_scoes] => phpu_scorm_scoes
                [phpu_scorm_scoes_data] => phpu_scorm_scoes_data
                [phpu_scorm_scoes_track] => phpu_scorm_scoes_track
                [phpu_scorm_seq_mapinfo] => phpu_scorm_seq_mapinfo
                [phpu_scorm_seq_objective] => phpu_scorm_seq_objective
                [phpu_scorm_seq_rolluprule] => phpu_scorm_seq_rolluprule
                [phpu_scorm_seq_rolluprulecond] => phpu_scorm_seq_rolluprulecond
                [phpu_scorm_seq_rulecond] => phpu_scorm_seq_rulecond
                [phpu_scorm_seq_ruleconds] => phpu_scorm_seq_ruleconds
                [phpu_sessions] => phpu_sessions
                [phpu_stats_daily] => phpu_stats_daily
                [phpu_stats_monthly] => phpu_stats_monthly
                [phpu_stats_user_daily] => phpu_stats_user_daily
                [phpu_stats_user_monthly] => phpu_stats_user_monthly
                [phpu_stats_user_weekly] => phpu_stats_user_weekly
                [phpu_stats_weekly] => phpu_stats_weekly
                [phpu_survey] => phpu_survey
                [phpu_survey_analysis] => phpu_survey_analysis
                [phpu_survey_answers] => phpu_survey_answers
                [phpu_survey_questions] => phpu_survey_questions
                [phpu_tag] => phpu_tag
                [phpu_tag_correlation] => phpu_tag_correlation
                [phpu_tag_instance] => phpu_tag_instance
                [phpu_timezone] => phpu_timezone
                [phpu_tool_customlang] => phpu_tool_customlang
                [phpu_tool_customlang_components] => phpu_tool_customlang_components
                [phpu_upgrade_log] => phpu_upgrade_log
                [phpu_url] => phpu_url
                [phpu_user] => phpu_user
                [phpu_user_enrolments] => phpu_user_enrolments
                [phpu_user_info_category] => phpu_user_info_category
                [phpu_user_info_data] => phpu_user_info_data
                [phpu_user_info_field] => phpu_user_info_field
                [phpu_user_lastaccess] => phpu_user_lastaccess
                [phpu_user_preferences] => phpu_user_preferences
                [phpu_user_private_key] => phpu_user_private_key
                [phpu_webdav_locks] => phpu_webdav_locks
                [phpu_wiki] => phpu_wiki
                [phpu_wiki_links] => phpu_wiki_links
                [phpu_wiki_locks] => phpu_wiki_locks
                [phpu_wiki_pages] => phpu_wiki_pages
                [phpu_wiki_subwikis] => phpu_wiki_subwikis
                [phpu_wiki_synonyms] => phpu_wiki_synonyms
                [phpu_wiki_versions] => phpu_wiki_versions
                [phpu_workshop] => phpu_workshop
                [phpu_workshop_aggregations] => phpu_workshop_aggregations
                [phpu_workshop_assessments] => phpu_workshop_assessments
                [phpu_workshop_assessments_old] => phpu_workshop_assessments_old
                [phpu_workshop_comments_old] => phpu_workshop_comments_old
                [phpu_workshop_elements_old] => phpu_workshop_elements_old
                [phpu_workshop_grades] => phpu_workshop_grades
                [phpu_workshop_grades_old] => phpu_workshop_grades_old
                [phpu_workshop_old] => phpu_workshop_old
                [phpu_workshop_rubrics_old] => phpu_workshop_rubrics_old
                [phpu_workshop_stockcomments_old] => phpu_workshop_stockcomments_old
                [phpu_workshop_submissions] => phpu_workshop_submissions
                [phpu_workshop_submissions_old] => phpu_workshop_submissions_old
                [phpu_workshopallocation_scheduled] => phpu_workshopallocation_scheduled
                [phpu_workshopeval_best_settings] => phpu_workshopeval_best_settings
                [phpu_workshopform_accumulative] => phpu_workshopform_accumulative
                [phpu_workshopform_comments] => phpu_workshopform_comments
                [phpu_workshopform_numerrors] => phpu_workshopform_numerrors
                [phpu_workshopform_numerrors_map] => phpu_workshopform_numerrors_map
                [phpu_workshopform_rubric] => phpu_workshopform_rubric
                [phpu_workshopform_rubric_config] => phpu_workshopform_rubric_config
                [phpu_workshopform_rubric_levels] => phpu_workshopform_rubric_levels
                [portfolio_instance] => portfolio_instance
                [portfolio_instance_config] => portfolio_instance_config
                [portfolio_instance_user] => portfolio_instance_user
                [portfolio_log] => portfolio_log
                [portfolio_mahara_queue] => portfolio_mahara_queue
                [portfolio_tempdata] => portfolio_tempdata
                [post] => post
                [profiling] => profiling
                [qtype_essay_options] => qtype_essay_options
                [question] => question
                [question_answers] => question_answers
                [question_attempt_step_data] => question_attempt_step_data
                [question_attempt_steps] => question_attempt_steps
                [question_attempts] => question_attempts
                [question_calculated] => question_calculated
                [question_calculated_options] => question_calculated_options
                [question_categories] => question_categories
                [question_dataset_definitions] => question_dataset_definitions
                [question_dataset_items] => question_dataset_items
                [question_datasets] => question_datasets
                [question_hints] => question_hints
                [question_match] => question_match
                [question_match_sub] => question_match_sub
                [question_multianswer] => question_multianswer
                [question_multichoice] => question_multichoice
                [question_numerical] => question_numerical
                [question_numerical_options] => question_numerical_options
                [question_numerical_units] => question_numerical_units
                [question_randomsamatch] => question_randomsamatch
                [question_sessions] => question_sessions
                [question_shortanswer] => question_shortanswer
                [question_states] => question_states
                [question_truefalse] => question_truefalse
                [question_usages] => question_usages
                [quiz] => quiz
                [quiz_attempts] => quiz_attempts
                [quiz_feedback] => quiz_feedback
                [quiz_grades] => quiz_grades
                [quiz_overrides] => quiz_overrides
                [quiz_overview_regrades] => quiz_overview_regrades
                [quiz_question_instances] => quiz_question_instances
                [quiz_question_response_stats] => quiz_question_response_stats
                [quiz_question_statistics] => quiz_question_statistics
                [quiz_reports] => quiz_reports
                [quiz_statistics] => quiz_statistics
                [rating] => rating
                [registration_hubs] => registration_hubs
                [repository] => repository
                [repository_instance_config] => repository_instance_config
                [repository_instances] => repository_instances
                [resource] => resource
                [resource_old] => resource_old
                [role] => role
                [role_allow_assign] => role_allow_assign
                [role_allow_override] => role_allow_override
                [role_allow_switch] => role_allow_switch
                [role_assignments] => role_assignments
                [role_capabilities] => role_capabilities
                [role_context_levels] => role_context_levels
                [role_names] => role_names
                [role_sortorder] => role_sortorder
                [scale] => scale
                [scale_history] => scale_history
                [scorm] => scorm
                [scorm_aicc_session] => scorm_aicc_session
                [scorm_scoes] => scorm_scoes
                [scorm_scoes_data] => scorm_scoes_data
                [scorm_scoes_track] => scorm_scoes_track
                [scorm_seq_mapinfo] => scorm_seq_mapinfo
                [scorm_seq_objective] => scorm_seq_objective
                [scorm_seq_rolluprule] => scorm_seq_rolluprule
                [scorm_seq_rolluprulecond] => scorm_seq_rolluprulecond
                [scorm_seq_rulecond] => scorm_seq_rulecond
                [scorm_seq_ruleconds] => scorm_seq_ruleconds
                [sessions] => sessions
                [stats_daily] => stats_daily
                [stats_monthly] => stats_monthly
                [stats_user_daily] => stats_user_daily
                [stats_user_monthly] => stats_user_monthly
                [stats_user_weekly] => stats_user_weekly
                [stats_weekly] => stats_weekly
                [survey] => survey
                [survey_analysis] => survey_analysis
                [survey_answers] => survey_answers
                [survey_questions] => survey_questions
                [tag] => tag
                [tag_correlation] => tag_correlation
                [tag_instance] => tag_instance
                [timezone] => timezone
                [tool_customlang] => tool_customlang
                [tool_customlang_components] => tool_customlang_components
                [upgrade_log] => upgrade_log
                [url] => url
                [user] => user
                [user_enrolments] => user_enrolments
                [user_info_category] => user_info_category
                [user_info_data] => user_info_data
                [user_info_field] => user_info_field
                [user_lastaccess] => user_lastaccess
                [user_preferences] => user_preferences
                [user_private_key] => user_private_key
                [webdav_locks] => webdav_locks
                [wiki] => wiki
                [wiki_links] => wiki_links
                [wiki_locks] => wiki_locks
                [wiki_pages] => wiki_pages
                [wiki_subwikis] => wiki_subwikis
                [wiki_synonyms] => wiki_synonyms
                [wiki_versions] => wiki_versions
                [workshop] => workshop
                [workshop_aggregations] => workshop_aggregations
                [workshop_assessments] => workshop_assessments
                [workshop_assessments_old] => workshop_assessments_old
                [workshop_comments_old] => workshop_comments_old
                [workshop_elements_old] => workshop_elements_old
                [workshop_grades] => workshop_grades
                [workshop_grades_old] => workshop_grades_old
                [workshop_old] => workshop_old
                [workshop_rubrics_old] => workshop_rubrics_old
                [workshop_stockcomments_old] => workshop_stockcomments_old
                [workshop_submissions] => workshop_submissions
                [workshop_submissions_old] => workshop_submissions_old
                [workshopallocation_scheduled] => workshopallocation_scheduled
                [workshopeval_best_settings] => workshopeval_best_settings
                [workshopform_accumulative] => workshopform_accumulative
                [workshopform_comments] => workshopform_comments
                [workshopform_numerrors] => workshopform_numerrors
                [workshopform_numerrors_map] => workshopform_numerrors_map
                [workshopform_rubric] => workshopform_rubric
                [workshopform_rubric_config] => workshopform_rubric_config
                [workshopform_rubric_levels] => workshopform_rubric_levels
            )

            string(4) "mdl_"
             
            Array
            (
                [assign] => assign
                [assign_grades] => assign_grades
                [assign_plugin_config] => assign_plugin_config
                [assign_submission] => assign_submission
                [assignfeedback_comments] => assignfeedback_comments
                [assignfeedback_file] => assignfeedback_file
                [assignment] => assignment
                [assignment_submissions] => assignment_submissions
                [assignsubmission_file] => assignsubmission_file
                [assignsubmission_onlinetext] => assignsubmission_onlinetext
                [backup_controllers] => backup_controllers
                [backup_courses] => backup_courses
                [backup_files] => backup_files
                [backup_files_template] => backup_files_template
                [backup_ids] => backup_ids
                [backup_ids_template] => backup_ids_template
                [backup_logs] => backup_logs
                [block] => block
                [block_community] => block_community
                [block_instances] => block_instances
                [block_positions] => block_positions
                [block_rss_client] => block_rss_client
                [blog_association] => blog_association
                [blog_external] => blog_external
                [cache_filters] => cache_filters
                [cache_flags] => cache_flags
                [cache_text] => cache_text
                [capabilities] => capabilities
                [chat] => chat
                [chat_messages] => chat_messages
                [chat_messages_current] => chat_messages_current
                [chat_users] => chat_users
                [choice] => choice
                [choice_answers] => choice_answers
                [choice_options] => choice_options
                [cohort] => cohort
                [cohort_members] => cohort_members
                [comments] => comments
                [config] => config
                [config_log] => config_log
                [config_plugins] => config_plugins
                [context] => context
                [context_temp] => context_temp
                [course] => course
                [course_categories] => course_categories
                [course_completion_aggr_methd] => course_completion_aggr_methd
                [course_completion_crit_compl] => course_completion_crit_compl
                [course_completion_criteria] => course_completion_criteria
                [course_completion_notify] => course_completion_notify
                [course_completions] => course_completions
                [course_modules] => course_modules
                [course_modules_availability] => course_modules_availability
                [course_modules_completion] => course_modules_completion
                [course_published] => course_published
                [course_request] => course_request
                [course_sections] => course_sections
                [data] => data
                [data_content] => data_content
                [data_fields] => data_fields
                [data_records] => data_records
                [enrol] => enrol
                [enrol_authorize] => enrol_authorize
                [enrol_authorize_refunds] => enrol_authorize_refunds
                [enrol_flatfile] => enrol_flatfile
                [enrol_paypal] => enrol_paypal
                [event] => event
                [events_handlers] => events_handlers
                [events_queue] => events_queue
                [events_queue_handlers] => events_queue_handlers
                [external_functions] => external_functions
                [external_services] => external_services
                [external_services_functions] => external_services_functions
                [external_services_users] => external_services_users
                [external_tokens] => external_tokens
                [feedback] => feedback
                [feedback_completed] => feedback_completed
                [feedback_completedtmp] => feedback_completedtmp
                [feedback_item] => feedback_item
                [feedback_sitecourse_map] => feedback_sitecourse_map
                [feedback_template] => feedback_template
                [feedback_tracking] => feedback_tracking
                [feedback_value] => feedback_value
                [feedback_valuetmp] => feedback_valuetmp
                [files] => files
                [filter_active] => filter_active
                [filter_config] => filter_config
                [folder] => folder
                [forum] => forum
                [forum_discussions] => forum_discussions
                [forum_posts] => forum_posts
                [forum_queue] => forum_queue
                [forum_read] => forum_read
                [forum_subscriptions] => forum_subscriptions
                [forum_track_prefs] => forum_track_prefs
                [glossary] => glossary
                [glossary_alias] => glossary_alias
                [glossary_categories] => glossary_categories
                [glossary_entries] => glossary_entries
                [glossary_entries_categories] => glossary_entries_categories
                [glossary_formats] => glossary_formats
                [grade_categories] => grade_categories
                [grade_categories_history] => grade_categories_history
                [grade_grades] => grade_grades
                [grade_grades_history] => grade_grades_history
                [grade_import_newitem] => grade_import_newitem
                [grade_import_values] => grade_import_values
                [grade_items] => grade_items
                [grade_items_history] => grade_items_history
                [grade_letters] => grade_letters
                [grade_outcomes] => grade_outcomes
                [grade_outcomes_courses] => grade_outcomes_courses
                [grade_outcomes_history] => grade_outcomes_history
                [grade_settings] => grade_settings
                [grading_areas] => grading_areas
                [grading_definitions] => grading_definitions
                [grading_instances] => grading_instances
                [gradingform_guide_comments] => gradingform_guide_comments
                [gradingform_guide_criteria] => gradingform_guide_criteria
                [gradingform_guide_fillings] => gradingform_guide_fillings
                [gradingform_rubric_criteria] => gradingform_rubric_criteria
                [gradingform_rubric_fillings] => gradingform_rubric_fillings
                [gradingform_rubric_levels] => gradingform_rubric_levels
                [groupings] => groupings
                [groupings_groups] => groupings_groups
                [groups] => groups
                [groups_members] => groups_members
                [imscp] => imscp
                [label] => label
                [lesson] => lesson
                [lesson_answers] => lesson_answers
                [lesson_attempts] => lesson_attempts
                [lesson_branch] => lesson_branch
                [lesson_grades] => lesson_grades
                [lesson_high_scores] => lesson_high_scores
                [lesson_pages] => lesson_pages
                [lesson_timer] => lesson_timer
                [license] => license
                [log] => log
                [log_display] => log_display
                [log_queries] => log_queries
                [lti] => lti
                [lti_submission] => lti_submission
                [lti_types] => lti_types
                [lti_types_config] => lti_types_config
                [message] => message
                [message_contacts] => message_contacts
                [message_processors] => message_processors
                [message_providers] => message_providers
                [message_read] => message_read
                [message_working] => message_working
                [mnet_application] => mnet_application
                [mnet_host] => mnet_host
                [mnet_host2service] => mnet_host2service
                [mnet_log] => mnet_log
                [mnet_remote_rpc] => mnet_remote_rpc
                [mnet_remote_service2rpc] => mnet_remote_service2rpc
                [mnet_rpc] => mnet_rpc
                [mnet_service] => mnet_service
                [mnet_service2rpc] => mnet_service2rpc
                [mnet_session] => mnet_session
                [mnet_sso_access_control] => mnet_sso_access_control
                [mnetservice_enrol_courses] => mnetservice_enrol_courses
                [mnetservice_enrol_enrolments] => mnetservice_enrol_enrolments
                [modules] => modules
                [my_pages] => my_pages
                [page] => page
                [portfolio_instance] => portfolio_instance
                [portfolio_instance_config] => portfolio_instance_config
                [portfolio_instance_user] => portfolio_instance_user
                [portfolio_log] => portfolio_log
                [portfolio_mahara_queue] => portfolio_mahara_queue
                [portfolio_tempdata] => portfolio_tempdata
                [post] => post
                [profiling] => profiling
                [qtype_essay_options] => qtype_essay_options
                [question] => question
                [question_answers] => question_answers
                [question_attempt_step_data] => question_attempt_step_data
                [question_attempt_steps] => question_attempt_steps
                [question_attempts] => question_attempts
                [question_calculated] => question_calculated
                [question_calculated_options] => question_calculated_options
                [question_categories] => question_categories
                [question_dataset_definitions] => question_dataset_definitions
                [question_dataset_items] => question_dataset_items
                [question_datasets] => question_datasets
                [question_hints] => question_hints
                [question_match] => question_match
                [question_match_sub] => question_match_sub
                [question_multianswer] => question_multianswer
                [question_multichoice] => question_multichoice
                [question_numerical] => question_numerical
                [question_numerical_options] => question_numerical_options
                [question_numerical_units] => question_numerical_units
                [question_randomsamatch] => question_randomsamatch
                [question_sessions] => question_sessions
                [question_shortanswer] => question_shortanswer
                [question_states] => question_states
                [question_truefalse] => question_truefalse
                [question_usages] => question_usages
                [quiz] => quiz
                [quiz_attempts] => quiz_attempts
                [quiz_feedback] => quiz_feedback
                [quiz_grades] => quiz_grades
                [quiz_overrides] => quiz_overrides
                [quiz_overview_regrades] => quiz_overview_regrades
                [quiz_question_instances] => quiz_question_instances
                [quiz_question_response_stats] => quiz_question_response_stats
                [quiz_question_statistics] => quiz_question_statistics
                [quiz_reports] => quiz_reports
                [quiz_statistics] => quiz_statistics
                [rating] => rating
                [registration_hubs] => registration_hubs
                [repository] => repository
                [repository_instance_config] => repository_instance_config
                [repository_instances] => repository_instances
                [resource] => resource
                [resource_old] => resource_old
                [role] => role
                [role_allow_assign] => role_allow_assign
                [role_allow_override] => role_allow_override
                [role_allow_switch] => role_allow_switch
                [role_assignments] => role_assignments
                [role_capabilities] => role_capabilities
                [role_context_levels] => role_context_levels
                [role_names] => role_names
                [role_sortorder] => role_sortorder
                [scale] => scale
                [scale_history] => scale_history
                [scorm] => scorm
                [scorm_aicc_session] => scorm_aicc_session
                [scorm_scoes] => scorm_scoes
                [scorm_scoes_data] => scorm_scoes_data
                [scorm_scoes_track] => scorm_scoes_track
                [scorm_seq_mapinfo] => scorm_seq_mapinfo
                [scorm_seq_objective] => scorm_seq_objective
                [scorm_seq_rolluprule] => scorm_seq_rolluprule
                [scorm_seq_rolluprulecond] => scorm_seq_rolluprulecond
                [scorm_seq_rulecond] => scorm_seq_rulecond
                [scorm_seq_ruleconds] => scorm_seq_ruleconds
                [sessions] => sessions
                [stats_daily] => stats_daily
                [stats_monthly] => stats_monthly
                [stats_user_daily] => stats_user_daily
                [stats_user_monthly] => stats_user_monthly
                [stats_user_weekly] => stats_user_weekly
                [stats_weekly] => stats_weekly
                [survey] => survey
                [survey_analysis] => survey_analysis
                [survey_answers] => survey_answers
                [survey_questions] => survey_questions
                [tag] => tag
                [tag_correlation] => tag_correlation
                [tag_instance] => tag_instance
                [timezone] => timezone
                [tool_customlang] => tool_customlang
                [tool_customlang_components] => tool_customlang_components
                [upgrade_log] => upgrade_log
                [url] => url
                [user] => user
                [user_enrolments] => user_enrolments
                [user_info_category] => user_info_category
                [user_info_data] => user_info_data
                [user_info_field] => user_info_field
                [user_lastaccess] => user_lastaccess
                [user_preferences] => user_preferences
                [user_private_key] => user_private_key
                [webdav_locks] => webdav_locks
                [wiki] => wiki
                [wiki_links] => wiki_links
                [wiki_locks] => wiki_locks
                [wiki_pages] => wiki_pages
                [wiki_subwikis] => wiki_subwikis
                [wiki_synonyms] => wiki_synonyms
                [wiki_versions] => wiki_versions
                [workshop] => workshop
                [workshop_aggregations] => workshop_aggregations
                [workshop_assessments] => workshop_assessments
                [workshop_assessments_old] => workshop_assessments_old
                [workshop_comments_old] => workshop_comments_old
                [workshop_elements_old] => workshop_elements_old
                [workshop_grades] => workshop_grades
                [workshop_grades_old] => workshop_grades_old
                [workshop_old] => workshop_old
                [workshop_rubrics_old] => workshop_rubrics_old
                [workshop_stockcomments_old] => workshop_stockcomments_old
                [workshop_submissions] => workshop_submissions
                [workshop_submissions_old] => workshop_submissions_old
                [workshopallocation_scheduled] => workshopallocation_scheduled
                [workshopeval_best_settings] => workshopeval_best_settings
                [workshopform_accumulative] => workshopform_accumulative
                [workshopform_comments] => workshopform_comments
                [workshopform_numerrors] => workshopform_numerrors
                [workshopform_numerrors_map] => workshopform_numerrors_map
                [workshopform_rubric] => workshopform_rubric
                [workshopform_rubric_config] => workshopform_rubric_config
                [workshopform_rubric_levels] => workshopform_rubric_levels
            )

            Show
            andyjdavis Andrew Davis added a comment - - edited The testing instructions are a bit unclear. Here is what I have done. Here is a subset of my config.php $CFG->dbtype = 'mysqli'; $CFG->dblibrary = 'native'; $CFG->dbhost = 'localhost'; $CFG->dbname = 'moodle_int_master'; //$CFG->prefix = 'mdl_'; $CFG->prefix = ''; I had Moodle isntalled using mdl_ as the prefix. I commented that out, added a prefix line with an empty string. This caused Moodle to install its tables with no prefix. I ran the phpunit tests. Output in previous comment. Then I ran this test script twice. Once with each prefix. <?php require_once('config.php'); var_dump($CFG->prefix); $tables = $DB->get_tables(); print_object($tables); The output is below. The no prefix output appears to include the mdl_ tables, the tables with no prefix and tables prefixed with phpu_. This doesn't seem correct. The mdl_ output looks more correct. string(0) ""   Array ( [assign] => assign [assign_grades] => assign_grades [assign_plugin_config] => assign_plugin_config [assign_submission] => assign_submission [assignfeedback_comments] => assignfeedback_comments [assignfeedback_file] => assignfeedback_file [assignment] => assignment [assignment_submissions] => assignment_submissions [assignsubmission_file] => assignsubmission_file [assignsubmission_onlinetext] => assignsubmission_onlinetext [backup_controllers] => backup_controllers [backup_courses] => backup_courses [backup_files] => backup_files [backup_files_template] => backup_files_template [backup_ids] => backup_ids [backup_ids_template] => backup_ids_template [backup_logs] => backup_logs [block] => block [block_community] => block_community [block_instances] => block_instances [block_positions] => block_positions [block_rss_client] => block_rss_client [blog_association] => blog_association [blog_external] => blog_external [cache_filters] => cache_filters [cache_flags] => cache_flags [cache_text] => cache_text [capabilities] => capabilities [chat] => chat [chat_messages] => chat_messages [chat_messages_current] => chat_messages_current [chat_users] => chat_users [choice] => choice [choice_answers] => choice_answers [choice_options] => choice_options [cohort] => cohort [cohort_members] => cohort_members [comments] => comments [config] => config [config_log] => config_log [config_plugins] => config_plugins [context] => context [context_temp] => context_temp [course] => course [course_categories] => course_categories [course_completion_aggr_methd] => course_completion_aggr_methd [course_completion_crit_compl] => course_completion_crit_compl [course_completion_criteria] => course_completion_criteria [course_completion_notify] => course_completion_notify [course_completions] => course_completions [course_modules] => course_modules [course_modules_availability] => course_modules_availability [course_modules_completion] => course_modules_completion [course_published] => course_published [course_request] => course_request [course_sections] => course_sections [data] => data [data_content] => data_content [data_fields] => data_fields [data_records] => data_records [enrol] => enrol [enrol_authorize] => enrol_authorize [enrol_authorize_refunds] => enrol_authorize_refunds [enrol_flatfile] => enrol_flatfile [enrol_paypal] => enrol_paypal [event] => event [events_handlers] => events_handlers [events_queue] => events_queue [events_queue_handlers] => events_queue_handlers [external_functions] => external_functions [external_services] => external_services [external_services_functions] => external_services_functions [external_services_users] => external_services_users [external_tokens] => external_tokens [feedback] => feedback [feedback_completed] => feedback_completed [feedback_completedtmp] => feedback_completedtmp [feedback_item] => feedback_item [feedback_sitecourse_map] => feedback_sitecourse_map [feedback_template] => feedback_template [feedback_tracking] => feedback_tracking [feedback_value] => feedback_value [feedback_valuetmp] => feedback_valuetmp [files] => files [filter_active] => filter_active [filter_config] => filter_config [folder] => folder [forum] => forum [forum_discussions] => forum_discussions [forum_posts] => forum_posts [forum_queue] => forum_queue [forum_read] => forum_read [forum_subscriptions] => forum_subscriptions [forum_track_prefs] => forum_track_prefs [glossary] => glossary [glossary_alias] => glossary_alias [glossary_categories] => glossary_categories [glossary_entries] => glossary_entries [glossary_entries_categories] => glossary_entries_categories [glossary_formats] => glossary_formats [grade_categories] => grade_categories [grade_categories_history] => grade_categories_history [grade_grades] => grade_grades [grade_grades_history] => grade_grades_history [grade_import_newitem] => grade_import_newitem [grade_import_values] => grade_import_values [grade_items] => grade_items [grade_items_history] => grade_items_history [grade_letters] => grade_letters [grade_outcomes] => grade_outcomes [grade_outcomes_courses] => grade_outcomes_courses [grade_outcomes_history] => grade_outcomes_history [grade_settings] => grade_settings [grading_areas] => grading_areas [grading_definitions] => grading_definitions [grading_instances] => grading_instances [gradingform_guide_comments] => gradingform_guide_comments [gradingform_guide_criteria] => gradingform_guide_criteria [gradingform_guide_fillings] => gradingform_guide_fillings [gradingform_rubric_criteria] => gradingform_rubric_criteria [gradingform_rubric_fillings] => gradingform_rubric_fillings [gradingform_rubric_levels] => gradingform_rubric_levels [groupings] => groupings [groupings_groups] => groupings_groups [groups] => groups [groups_members] => groups_members [imscp] => imscp [label] => label [lesson] => lesson [lesson_answers] => lesson_answers [lesson_attempts] => lesson_attempts [lesson_branch] => lesson_branch [lesson_grades] => lesson_grades [lesson_high_scores] => lesson_high_scores [lesson_pages] => lesson_pages [lesson_timer] => lesson_timer [license] => license [log] => log [log_display] => log_display [log_queries] => log_queries [lti] => lti [lti_submission] => lti_submission [lti_types] => lti_types [lti_types_config] => lti_types_config [mdl_assign] => mdl_assign [mdl_assign_grades] => mdl_assign_grades [mdl_assign_plugin_config] => mdl_assign_plugin_config [mdl_assign_submission] => mdl_assign_submission [mdl_assignfeedback_comments] => mdl_assignfeedback_comments [mdl_assignfeedback_file] => mdl_assignfeedback_file [mdl_assignment] => mdl_assignment [mdl_assignment_submissions] => mdl_assignment_submissions [mdl_assignsubmission_file] => mdl_assignsubmission_file [mdl_assignsubmission_onlinetext] => mdl_assignsubmission_onlinetext [mdl_backup_controllers] => mdl_backup_controllers [mdl_backup_courses] => mdl_backup_courses [mdl_backup_files] => mdl_backup_files [mdl_backup_files_template] => mdl_backup_files_template [mdl_backup_ids] => mdl_backup_ids [mdl_backup_ids_template] => mdl_backup_ids_template [mdl_backup_logs] => mdl_backup_logs [mdl_block] => mdl_block [mdl_block_community] => mdl_block_community [mdl_block_instances] => mdl_block_instances [mdl_block_positions] => mdl_block_positions [mdl_block_rss_client] => mdl_block_rss_client [mdl_blog_association] => mdl_blog_association [mdl_blog_external] => mdl_blog_external [mdl_cache_filters] => mdl_cache_filters [mdl_cache_flags] => mdl_cache_flags [mdl_cache_text] => mdl_cache_text [mdl_capabilities] => mdl_capabilities [mdl_chat] => mdl_chat [mdl_chat_messages] => mdl_chat_messages [mdl_chat_messages_current] => mdl_chat_messages_current [mdl_chat_users] => mdl_chat_users [mdl_choice] => mdl_choice [mdl_choice_answers] => mdl_choice_answers [mdl_choice_options] => mdl_choice_options [mdl_cohort] => mdl_cohort [mdl_cohort_members] => mdl_cohort_members [mdl_comments] => mdl_comments [mdl_config] => mdl_config [mdl_config_log] => mdl_config_log [mdl_config_plugins] => mdl_config_plugins [mdl_context] => mdl_context [mdl_context_temp] => mdl_context_temp [mdl_course] => mdl_course [mdl_course_categories] => mdl_course_categories [mdl_course_completion_aggr_methd] => mdl_course_completion_aggr_methd [mdl_course_completion_crit_compl] => mdl_course_completion_crit_compl [mdl_course_completion_criteria] => mdl_course_completion_criteria [mdl_course_completion_notify] => mdl_course_completion_notify [mdl_course_completions] => mdl_course_completions [mdl_course_modules] => mdl_course_modules [mdl_course_modules_availability] => mdl_course_modules_availability [mdl_course_modules_completion] => mdl_course_modules_completion [mdl_course_published] => mdl_course_published [mdl_course_request] => mdl_course_request [mdl_course_sections] => mdl_course_sections [mdl_data] => mdl_data [mdl_data_content] => mdl_data_content [mdl_data_fields] => mdl_data_fields [mdl_data_records] => mdl_data_records [mdl_enrol] => mdl_enrol [mdl_enrol_authorize] => mdl_enrol_authorize [mdl_enrol_authorize_refunds] => mdl_enrol_authorize_refunds [mdl_enrol_flatfile] => mdl_enrol_flatfile [mdl_enrol_paypal] => mdl_enrol_paypal [mdl_event] => mdl_event [mdl_events_handlers] => mdl_events_handlers [mdl_events_queue] => mdl_events_queue [mdl_events_queue_handlers] => mdl_events_queue_handlers [mdl_external_functions] => mdl_external_functions [mdl_external_services] => mdl_external_services [mdl_external_services_functions] => mdl_external_services_functions [mdl_external_services_users] => mdl_external_services_users [mdl_external_tokens] => mdl_external_tokens [mdl_feedback] => mdl_feedback [mdl_feedback_completed] => mdl_feedback_completed [mdl_feedback_completedtmp] => mdl_feedback_completedtmp [mdl_feedback_item] => mdl_feedback_item [mdl_feedback_sitecourse_map] => mdl_feedback_sitecourse_map [mdl_feedback_template] => mdl_feedback_template [mdl_feedback_tracking] => mdl_feedback_tracking [mdl_feedback_value] => mdl_feedback_value [mdl_feedback_valuetmp] => mdl_feedback_valuetmp [mdl_files] => mdl_files [mdl_filter_active] => mdl_filter_active [mdl_filter_config] => mdl_filter_config [mdl_folder] => mdl_folder [mdl_forum] => mdl_forum [mdl_forum_discussions] => mdl_forum_discussions [mdl_forum_posts] => mdl_forum_posts [mdl_forum_queue] => mdl_forum_queue [mdl_forum_read] => mdl_forum_read [mdl_forum_subscriptions] => mdl_forum_subscriptions [mdl_forum_track_prefs] => mdl_forum_track_prefs [mdl_glossary] => mdl_glossary [mdl_glossary_alias] => mdl_glossary_alias [mdl_glossary_categories] => mdl_glossary_categories [mdl_glossary_entries] => mdl_glossary_entries [mdl_glossary_entries_categories] => mdl_glossary_entries_categories [mdl_glossary_formats] => mdl_glossary_formats [mdl_grade_categories] => mdl_grade_categories [mdl_grade_categories_history] => mdl_grade_categories_history [mdl_grade_grades] => mdl_grade_grades [mdl_grade_grades_history] => mdl_grade_grades_history [mdl_grade_import_newitem] => mdl_grade_import_newitem [mdl_grade_import_values] => mdl_grade_import_values [mdl_grade_items] => mdl_grade_items [mdl_grade_items_history] => mdl_grade_items_history [mdl_grade_letters] => mdl_grade_letters [mdl_grade_outcomes] => mdl_grade_outcomes [mdl_grade_outcomes_courses] => mdl_grade_outcomes_courses [mdl_grade_outcomes_history] => mdl_grade_outcomes_history [mdl_grade_settings] => mdl_grade_settings [mdl_grading_areas] => mdl_grading_areas [mdl_grading_definitions] => mdl_grading_definitions [mdl_grading_instances] => mdl_grading_instances [mdl_gradingform_guide_comments] => mdl_gradingform_guide_comments [mdl_gradingform_guide_criteria] => mdl_gradingform_guide_criteria [mdl_gradingform_guide_fillings] => mdl_gradingform_guide_fillings [mdl_gradingform_rubric_criteria] => mdl_gradingform_rubric_criteria [mdl_gradingform_rubric_fillings] => mdl_gradingform_rubric_fillings [mdl_gradingform_rubric_levels] => mdl_gradingform_rubric_levels [mdl_groupings] => mdl_groupings [mdl_groupings_groups] => mdl_groupings_groups [mdl_groups] => mdl_groups [mdl_groups_members] => mdl_groups_members [mdl_imscp] => mdl_imscp [mdl_label] => mdl_label [mdl_lesson] => mdl_lesson [mdl_lesson_answers] => mdl_lesson_answers [mdl_lesson_attempts] => mdl_lesson_attempts [mdl_lesson_branch] => mdl_lesson_branch [mdl_lesson_grades] => mdl_lesson_grades [mdl_lesson_high_scores] => mdl_lesson_high_scores [mdl_lesson_pages] => mdl_lesson_pages [mdl_lesson_timer] => mdl_lesson_timer [mdl_license] => mdl_license [mdl_log] => mdl_log [mdl_log_display] => mdl_log_display [mdl_log_queries] => mdl_log_queries [mdl_lti] => mdl_lti [mdl_lti_submission] => mdl_lti_submission [mdl_lti_types] => mdl_lti_types [mdl_lti_types_config] => mdl_lti_types_config [mdl_message] => mdl_message [mdl_message_contacts] => mdl_message_contacts [mdl_message_processors] => mdl_message_processors [mdl_message_providers] => mdl_message_providers [mdl_message_read] => mdl_message_read [mdl_message_working] => mdl_message_working [mdl_mnet_application] => mdl_mnet_application [mdl_mnet_host] => mdl_mnet_host [mdl_mnet_host2service] => mdl_mnet_host2service [mdl_mnet_log] => mdl_mnet_log [mdl_mnet_remote_rpc] => mdl_mnet_remote_rpc [mdl_mnet_remote_service2rpc] => mdl_mnet_remote_service2rpc [mdl_mnet_rpc] => mdl_mnet_rpc [mdl_mnet_service] => mdl_mnet_service [mdl_mnet_service2rpc] => mdl_mnet_service2rpc [mdl_mnet_session] => mdl_mnet_session [mdl_mnet_sso_access_control] => mdl_mnet_sso_access_control [mdl_mnetservice_enrol_courses] => mdl_mnetservice_enrol_courses [mdl_mnetservice_enrol_enrolments] => mdl_mnetservice_enrol_enrolments [mdl_modules] => mdl_modules [mdl_my_pages] => mdl_my_pages [mdl_page] => mdl_page [mdl_portfolio_instance] => mdl_portfolio_instance [mdl_portfolio_instance_config] => mdl_portfolio_instance_config [mdl_portfolio_instance_user] => mdl_portfolio_instance_user [mdl_portfolio_log] => mdl_portfolio_log [mdl_portfolio_mahara_queue] => mdl_portfolio_mahara_queue [mdl_portfolio_tempdata] => mdl_portfolio_tempdata [mdl_post] => mdl_post [mdl_profiling] => mdl_profiling [mdl_qtype_essay_options] => mdl_qtype_essay_options [mdl_question] => mdl_question [mdl_question_answers] => mdl_question_answers [mdl_question_attempt_step_data] => mdl_question_attempt_step_data [mdl_question_attempt_steps] => mdl_question_attempt_steps [mdl_question_attempts] => mdl_question_attempts [mdl_question_calculated] => mdl_question_calculated [mdl_question_calculated_options] => mdl_question_calculated_options [mdl_question_categories] => mdl_question_categories [mdl_question_dataset_definitions] => mdl_question_dataset_definitions [mdl_question_dataset_items] => mdl_question_dataset_items [mdl_question_datasets] => mdl_question_datasets [mdl_question_hints] => mdl_question_hints [mdl_question_match] => mdl_question_match [mdl_question_match_sub] => mdl_question_match_sub [mdl_question_multianswer] => mdl_question_multianswer [mdl_question_multichoice] => mdl_question_multichoice [mdl_question_numerical] => mdl_question_numerical [mdl_question_numerical_options] => mdl_question_numerical_options [mdl_question_numerical_units] => mdl_question_numerical_units [mdl_question_randomsamatch] => mdl_question_randomsamatch [mdl_question_sessions] => mdl_question_sessions [mdl_question_shortanswer] => mdl_question_shortanswer [mdl_question_states] => mdl_question_states [mdl_question_truefalse] => mdl_question_truefalse [mdl_question_usages] => mdl_question_usages [mdl_quiz] => mdl_quiz [mdl_quiz_attempts] => mdl_quiz_attempts [mdl_quiz_feedback] => mdl_quiz_feedback [mdl_quiz_grades] => mdl_quiz_grades [mdl_quiz_overrides] => mdl_quiz_overrides [mdl_quiz_overview_regrades] => mdl_quiz_overview_regrades [mdl_quiz_question_instances] => mdl_quiz_question_instances [mdl_quiz_question_response_stats] => mdl_quiz_question_response_stats [mdl_quiz_question_statistics] => mdl_quiz_question_statistics [mdl_quiz_reports] => mdl_quiz_reports [mdl_quiz_statistics] => mdl_quiz_statistics [mdl_rating] => mdl_rating [mdl_registration_hubs] => mdl_registration_hubs [mdl_repository] => mdl_repository [mdl_repository_instance_config] => mdl_repository_instance_config [mdl_repository_instances] => mdl_repository_instances [mdl_resource] => mdl_resource [mdl_resource_old] => mdl_resource_old [mdl_role] => mdl_role [mdl_role_allow_assign] => mdl_role_allow_assign [mdl_role_allow_override] => mdl_role_allow_override [mdl_role_allow_switch] => mdl_role_allow_switch [mdl_role_assignments] => mdl_role_assignments [mdl_role_capabilities] => mdl_role_capabilities [mdl_role_context_levels] => mdl_role_context_levels [mdl_role_names] => mdl_role_names [mdl_role_sortorder] => mdl_role_sortorder [mdl_scale] => mdl_scale [mdl_scale_history] => mdl_scale_history [mdl_scorm] => mdl_scorm [mdl_scorm_aicc_session] => mdl_scorm_aicc_session [mdl_scorm_scoes] => mdl_scorm_scoes [mdl_scorm_scoes_data] => mdl_scorm_scoes_data [mdl_scorm_scoes_track] => mdl_scorm_scoes_track [mdl_scorm_seq_mapinfo] => mdl_scorm_seq_mapinfo [mdl_scorm_seq_objective] => mdl_scorm_seq_objective [mdl_scorm_seq_rolluprule] => mdl_scorm_seq_rolluprule [mdl_scorm_seq_rolluprulecond] => mdl_scorm_seq_rolluprulecond [mdl_scorm_seq_rulecond] => mdl_scorm_seq_rulecond [mdl_scorm_seq_ruleconds] => mdl_scorm_seq_ruleconds [mdl_sessions] => mdl_sessions [mdl_stats_daily] => mdl_stats_daily [mdl_stats_monthly] => mdl_stats_monthly [mdl_stats_user_daily] => mdl_stats_user_daily [mdl_stats_user_monthly] => mdl_stats_user_monthly [mdl_stats_user_weekly] => mdl_stats_user_weekly [mdl_stats_weekly] => mdl_stats_weekly [mdl_survey] => mdl_survey [mdl_survey_analysis] => mdl_survey_analysis [mdl_survey_answers] => mdl_survey_answers [mdl_survey_questions] => mdl_survey_questions [mdl_tag] => mdl_tag [mdl_tag_correlation] => mdl_tag_correlation [mdl_tag_instance] => mdl_tag_instance [mdl_timezone] => mdl_timezone [mdl_tool_customlang] => mdl_tool_customlang [mdl_tool_customlang_components] => mdl_tool_customlang_components [mdl_upgrade_log] => mdl_upgrade_log [mdl_url] => mdl_url [mdl_user] => mdl_user [mdl_user_enrolments] => mdl_user_enrolments [mdl_user_info_category] => mdl_user_info_category [mdl_user_info_data] => mdl_user_info_data [mdl_user_info_field] => mdl_user_info_field [mdl_user_lastaccess] => mdl_user_lastaccess [mdl_user_preferences] => mdl_user_preferences [mdl_user_private_key] => mdl_user_private_key [mdl_webdav_locks] => mdl_webdav_locks [mdl_wiki] => mdl_wiki [mdl_wiki_links] => mdl_wiki_links [mdl_wiki_locks] => mdl_wiki_locks [mdl_wiki_pages] => mdl_wiki_pages [mdl_wiki_subwikis] => mdl_wiki_subwikis [mdl_wiki_synonyms] => mdl_wiki_synonyms [mdl_wiki_versions] => mdl_wiki_versions [mdl_workshop] => mdl_workshop [mdl_workshop_aggregations] => mdl_workshop_aggregations [mdl_workshop_assessments] => mdl_workshop_assessments [mdl_workshop_assessments_old] => mdl_workshop_assessments_old [mdl_workshop_comments_old] => mdl_workshop_comments_old [mdl_workshop_elements_old] => mdl_workshop_elements_old [mdl_workshop_grades] => mdl_workshop_grades [mdl_workshop_grades_old] => mdl_workshop_grades_old [mdl_workshop_old] => mdl_workshop_old [mdl_workshop_rubrics_old] => mdl_workshop_rubrics_old [mdl_workshop_stockcomments_old] => mdl_workshop_stockcomments_old [mdl_workshop_submissions] => mdl_workshop_submissions [mdl_workshop_submissions_old] => mdl_workshop_submissions_old [mdl_workshopallocation_scheduled] => mdl_workshopallocation_scheduled [mdl_workshopeval_best_settings] => mdl_workshopeval_best_settings [mdl_workshopform_accumulative] => mdl_workshopform_accumulative [mdl_workshopform_comments] => mdl_workshopform_comments [mdl_workshopform_numerrors] => mdl_workshopform_numerrors [mdl_workshopform_numerrors_map] => mdl_workshopform_numerrors_map [mdl_workshopform_rubric] => mdl_workshopform_rubric [mdl_workshopform_rubric_config] => mdl_workshopform_rubric_config [mdl_workshopform_rubric_levels] => mdl_workshopform_rubric_levels [message] => message [message_contacts] => message_contacts [message_processors] => message_processors [message_providers] => message_providers [message_read] => message_read [message_working] => message_working [mnet_application] => mnet_application [mnet_host] => mnet_host [mnet_host2service] => mnet_host2service [mnet_log] => mnet_log [mnet_remote_rpc] => mnet_remote_rpc [mnet_remote_service2rpc] => mnet_remote_service2rpc [mnet_rpc] => mnet_rpc [mnet_service] => mnet_service [mnet_service2rpc] => mnet_service2rpc [mnet_session] => mnet_session [mnet_sso_access_control] => mnet_sso_access_control [mnetservice_enrol_courses] => mnetservice_enrol_courses [mnetservice_enrol_enrolments] => mnetservice_enrol_enrolments [modules] => modules [my_pages] => my_pages [page] => page [phpu_assign] => phpu_assign [phpu_assign_grades] => phpu_assign_grades [phpu_assign_plugin_config] => phpu_assign_plugin_config [phpu_assign_submission] => phpu_assign_submission [phpu_assignfeedback_comments] => phpu_assignfeedback_comments [phpu_assignfeedback_file] => phpu_assignfeedback_file [phpu_assignment] => phpu_assignment [phpu_assignment_submissions] => phpu_assignment_submissions [phpu_assignsubmission_file] => phpu_assignsubmission_file [phpu_assignsubmission_onlinetext] => phpu_assignsubmission_onlinetext [phpu_backup_controllers] => phpu_backup_controllers [phpu_backup_courses] => phpu_backup_courses [phpu_backup_files] => phpu_backup_files [phpu_backup_files_template] => phpu_backup_files_template [phpu_backup_ids] => phpu_backup_ids [phpu_backup_ids_template] => phpu_backup_ids_template [phpu_backup_logs] => phpu_backup_logs [phpu_block] => phpu_block [phpu_block_community] => phpu_block_community [phpu_block_instances] => phpu_block_instances [phpu_block_positions] => phpu_block_positions [phpu_block_rss_client] => phpu_block_rss_client [phpu_blog_association] => phpu_blog_association [phpu_blog_external] => phpu_blog_external [phpu_cache_filters] => phpu_cache_filters [phpu_cache_flags] => phpu_cache_flags [phpu_cache_text] => phpu_cache_text [phpu_capabilities] => phpu_capabilities [phpu_chat] => phpu_chat [phpu_chat_messages] => phpu_chat_messages [phpu_chat_messages_current] => phpu_chat_messages_current [phpu_chat_users] => phpu_chat_users [phpu_choice] => phpu_choice [phpu_choice_answers] => phpu_choice_answers [phpu_choice_options] => phpu_choice_options [phpu_cohort] => phpu_cohort [phpu_cohort_members] => phpu_cohort_members [phpu_comments] => phpu_comments [phpu_config] => phpu_config [phpu_config_log] => phpu_config_log [phpu_config_plugins] => phpu_config_plugins [phpu_context] => phpu_context [phpu_context_temp] => phpu_context_temp [phpu_course] => phpu_course [phpu_course_categories] => phpu_course_categories [phpu_course_completion_aggr_methd] => phpu_course_completion_aggr_methd [phpu_course_completion_crit_compl] => phpu_course_completion_crit_compl [phpu_course_completion_criteria] => phpu_course_completion_criteria [phpu_course_completion_notify] => phpu_course_completion_notify [phpu_course_completions] => phpu_course_completions [phpu_course_modules] => phpu_course_modules [phpu_course_modules_availability] => phpu_course_modules_availability [phpu_course_modules_completion] => phpu_course_modules_completion [phpu_course_published] => phpu_course_published [phpu_course_request] => phpu_course_request [phpu_course_sections] => phpu_course_sections [phpu_data] => phpu_data [phpu_data_content] => phpu_data_content [phpu_data_fields] => phpu_data_fields [phpu_data_records] => phpu_data_records [phpu_enrol] => phpu_enrol [phpu_enrol_authorize] => phpu_enrol_authorize [phpu_enrol_authorize_refunds] => phpu_enrol_authorize_refunds [phpu_enrol_flatfile] => phpu_enrol_flatfile [phpu_enrol_paypal] => phpu_enrol_paypal [phpu_event] => phpu_event [phpu_events_handlers] => phpu_events_handlers [phpu_events_queue] => phpu_events_queue [phpu_events_queue_handlers] => phpu_events_queue_handlers [phpu_external_functions] => phpu_external_functions [phpu_external_services] => phpu_external_services [phpu_external_services_functions] => phpu_external_services_functions [phpu_external_services_users] => phpu_external_services_users [phpu_external_tokens] => phpu_external_tokens [phpu_feedback] => phpu_feedback [phpu_feedback_completed] => phpu_feedback_completed [phpu_feedback_completedtmp] => phpu_feedback_completedtmp [phpu_feedback_item] => phpu_feedback_item [phpu_feedback_sitecourse_map] => phpu_feedback_sitecourse_map [phpu_feedback_template] => phpu_feedback_template [phpu_feedback_tracking] => phpu_feedback_tracking [phpu_feedback_value] => phpu_feedback_value [phpu_feedback_valuetmp] => phpu_feedback_valuetmp [phpu_files] => phpu_files [phpu_filter_active] => phpu_filter_active [phpu_filter_config] => phpu_filter_config [phpu_folder] => phpu_folder [phpu_forum] => phpu_forum [phpu_forum_discussions] => phpu_forum_discussions [phpu_forum_posts] => phpu_forum_posts [phpu_forum_queue] => phpu_forum_queue [phpu_forum_read] => phpu_forum_read [phpu_forum_subscriptions] => phpu_forum_subscriptions [phpu_forum_track_prefs] => phpu_forum_track_prefs [phpu_glossary] => phpu_glossary [phpu_glossary_alias] => phpu_glossary_alias [phpu_glossary_categories] => phpu_glossary_categories [phpu_glossary_entries] => phpu_glossary_entries [phpu_glossary_entries_categories] => phpu_glossary_entries_categories [phpu_glossary_formats] => phpu_glossary_formats [phpu_grade_categories] => phpu_grade_categories [phpu_grade_categories_history] => phpu_grade_categories_history [phpu_grade_grades] => phpu_grade_grades [phpu_grade_grades_history] => phpu_grade_grades_history [phpu_grade_import_newitem] => phpu_grade_import_newitem [phpu_grade_import_values] => phpu_grade_import_values [phpu_grade_items] => phpu_grade_items [phpu_grade_items_history] => phpu_grade_items_history [phpu_grade_letters] => phpu_grade_letters [phpu_grade_outcomes] => phpu_grade_outcomes [phpu_grade_outcomes_courses] => phpu_grade_outcomes_courses [phpu_grade_outcomes_history] => phpu_grade_outcomes_history [phpu_grade_settings] => phpu_grade_settings [phpu_grading_areas] => phpu_grading_areas [phpu_grading_definitions] => phpu_grading_definitions [phpu_grading_instances] => phpu_grading_instances [phpu_gradingform_guide_comments] => phpu_gradingform_guide_comments [phpu_gradingform_guide_criteria] => phpu_gradingform_guide_criteria [phpu_gradingform_guide_fillings] => phpu_gradingform_guide_fillings [phpu_gradingform_rubric_criteria] => phpu_gradingform_rubric_criteria [phpu_gradingform_rubric_fillings] => phpu_gradingform_rubric_fillings [phpu_gradingform_rubric_levels] => phpu_gradingform_rubric_levels [phpu_groupings] => phpu_groupings [phpu_groupings_groups] => phpu_groupings_groups [phpu_groups] => phpu_groups [phpu_groups_members] => phpu_groups_members [phpu_imscp] => phpu_imscp [phpu_label] => phpu_label [phpu_lesson] => phpu_lesson [phpu_lesson_answers] => phpu_lesson_answers [phpu_lesson_attempts] => phpu_lesson_attempts [phpu_lesson_branch] => phpu_lesson_branch [phpu_lesson_grades] => phpu_lesson_grades [phpu_lesson_high_scores] => phpu_lesson_high_scores [phpu_lesson_pages] => phpu_lesson_pages [phpu_lesson_timer] => phpu_lesson_timer [phpu_license] => phpu_license [phpu_log] => phpu_log [phpu_log_display] => phpu_log_display [phpu_log_queries] => phpu_log_queries [phpu_lti] => phpu_lti [phpu_lti_submission] => phpu_lti_submission [phpu_lti_types] => phpu_lti_types [phpu_lti_types_config] => phpu_lti_types_config [phpu_message] => phpu_message [phpu_message_contacts] => phpu_message_contacts [phpu_message_processors] => phpu_message_processors [phpu_message_providers] => phpu_message_providers [phpu_message_read] => phpu_message_read [phpu_message_working] => phpu_message_working [phpu_mnet_application] => phpu_mnet_application [phpu_mnet_host] => phpu_mnet_host [phpu_mnet_host2service] => phpu_mnet_host2service [phpu_mnet_log] => phpu_mnet_log [phpu_mnet_remote_rpc] => phpu_mnet_remote_rpc [phpu_mnet_remote_service2rpc] => phpu_mnet_remote_service2rpc [phpu_mnet_rpc] => phpu_mnet_rpc [phpu_mnet_service] => phpu_mnet_service [phpu_mnet_service2rpc] => phpu_mnet_service2rpc [phpu_mnet_session] => phpu_mnet_session [phpu_mnet_sso_access_control] => phpu_mnet_sso_access_control [phpu_mnetservice_enrol_courses] => phpu_mnetservice_enrol_courses [phpu_mnetservice_enrol_enrolments] => phpu_mnetservice_enrol_enrolments [phpu_modules] => phpu_modules [phpu_my_pages] => phpu_my_pages [phpu_page] => phpu_page [phpu_portfolio_instance] => phpu_portfolio_instance [phpu_portfolio_instance_config] => phpu_portfolio_instance_config [phpu_portfolio_instance_user] => phpu_portfolio_instance_user [phpu_portfolio_log] => phpu_portfolio_log [phpu_portfolio_mahara_queue] => phpu_portfolio_mahara_queue [phpu_portfolio_tempdata] => phpu_portfolio_tempdata [phpu_post] => phpu_post [phpu_profiling] => phpu_profiling [phpu_qtype_essay_options] => phpu_qtype_essay_options [phpu_question] => phpu_question [phpu_question_answers] => phpu_question_answers [phpu_question_attempt_step_data] => phpu_question_attempt_step_data [phpu_question_attempt_steps] => phpu_question_attempt_steps [phpu_question_attempts] => phpu_question_attempts [phpu_question_calculated] => phpu_question_calculated [phpu_question_calculated_options] => phpu_question_calculated_options [phpu_question_categories] => phpu_question_categories [phpu_question_dataset_definitions] => phpu_question_dataset_definitions [phpu_question_dataset_items] => phpu_question_dataset_items [phpu_question_datasets] => phpu_question_datasets [phpu_question_hints] => phpu_question_hints [phpu_question_match] => phpu_question_match [phpu_question_match_sub] => phpu_question_match_sub [phpu_question_multianswer] => phpu_question_multianswer [phpu_question_multichoice] => phpu_question_multichoice [phpu_question_numerical] => phpu_question_numerical [phpu_question_numerical_options] => phpu_question_numerical_options [phpu_question_numerical_units] => phpu_question_numerical_units [phpu_question_randomsamatch] => phpu_question_randomsamatch [phpu_question_sessions] => phpu_question_sessions [phpu_question_shortanswer] => phpu_question_shortanswer [phpu_question_states] => phpu_question_states [phpu_question_truefalse] => phpu_question_truefalse [phpu_question_usages] => phpu_question_usages [phpu_quiz] => phpu_quiz [phpu_quiz_attempts] => phpu_quiz_attempts [phpu_quiz_feedback] => phpu_quiz_feedback [phpu_quiz_grades] => phpu_quiz_grades [phpu_quiz_overrides] => phpu_quiz_overrides [phpu_quiz_overview_regrades] => phpu_quiz_overview_regrades [phpu_quiz_question_instances] => phpu_quiz_question_instances [phpu_quiz_question_response_stats] => phpu_quiz_question_response_stats [phpu_quiz_question_statistics] => phpu_quiz_question_statistics [phpu_quiz_reports] => phpu_quiz_reports [phpu_quiz_statistics] => phpu_quiz_statistics [phpu_rating] => phpu_rating [phpu_registration_hubs] => phpu_registration_hubs [phpu_repository] => phpu_repository [phpu_repository_instance_config] => phpu_repository_instance_config [phpu_repository_instances] => phpu_repository_instances [phpu_resource] => phpu_resource [phpu_resource_old] => phpu_resource_old [phpu_role] => phpu_role [phpu_role_allow_assign] => phpu_role_allow_assign [phpu_role_allow_override] => phpu_role_allow_override [phpu_role_allow_switch] => phpu_role_allow_switch [phpu_role_assignments] => phpu_role_assignments [phpu_role_capabilities] => phpu_role_capabilities [phpu_role_context_levels] => phpu_role_context_levels [phpu_role_names] => phpu_role_names [phpu_role_sortorder] => phpu_role_sortorder [phpu_scale] => phpu_scale [phpu_scale_history] => phpu_scale_history [phpu_scorm] => phpu_scorm [phpu_scorm_aicc_session] => phpu_scorm_aicc_session [phpu_scorm_scoes] => phpu_scorm_scoes [phpu_scorm_scoes_data] => phpu_scorm_scoes_data [phpu_scorm_scoes_track] => phpu_scorm_scoes_track [phpu_scorm_seq_mapinfo] => phpu_scorm_seq_mapinfo [phpu_scorm_seq_objective] => phpu_scorm_seq_objective [phpu_scorm_seq_rolluprule] => phpu_scorm_seq_rolluprule [phpu_scorm_seq_rolluprulecond] => phpu_scorm_seq_rolluprulecond [phpu_scorm_seq_rulecond] => phpu_scorm_seq_rulecond [phpu_scorm_seq_ruleconds] => phpu_scorm_seq_ruleconds [phpu_sessions] => phpu_sessions [phpu_stats_daily] => phpu_stats_daily [phpu_stats_monthly] => phpu_stats_monthly [phpu_stats_user_daily] => phpu_stats_user_daily [phpu_stats_user_monthly] => phpu_stats_user_monthly [phpu_stats_user_weekly] => phpu_stats_user_weekly [phpu_stats_weekly] => phpu_stats_weekly [phpu_survey] => phpu_survey [phpu_survey_analysis] => phpu_survey_analysis [phpu_survey_answers] => phpu_survey_answers [phpu_survey_questions] => phpu_survey_questions [phpu_tag] => phpu_tag [phpu_tag_correlation] => phpu_tag_correlation [phpu_tag_instance] => phpu_tag_instance [phpu_timezone] => phpu_timezone [phpu_tool_customlang] => phpu_tool_customlang [phpu_tool_customlang_components] => phpu_tool_customlang_components [phpu_upgrade_log] => phpu_upgrade_log [phpu_url] => phpu_url [phpu_user] => phpu_user [phpu_user_enrolments] => phpu_user_enrolments [phpu_user_info_category] => phpu_user_info_category [phpu_user_info_data] => phpu_user_info_data [phpu_user_info_field] => phpu_user_info_field [phpu_user_lastaccess] => phpu_user_lastaccess [phpu_user_preferences] => phpu_user_preferences [phpu_user_private_key] => phpu_user_private_key [phpu_webdav_locks] => phpu_webdav_locks [phpu_wiki] => phpu_wiki [phpu_wiki_links] => phpu_wiki_links [phpu_wiki_locks] => phpu_wiki_locks [phpu_wiki_pages] => phpu_wiki_pages [phpu_wiki_subwikis] => phpu_wiki_subwikis [phpu_wiki_synonyms] => phpu_wiki_synonyms [phpu_wiki_versions] => phpu_wiki_versions [phpu_workshop] => phpu_workshop [phpu_workshop_aggregations] => phpu_workshop_aggregations [phpu_workshop_assessments] => phpu_workshop_assessments [phpu_workshop_assessments_old] => phpu_workshop_assessments_old [phpu_workshop_comments_old] => phpu_workshop_comments_old [phpu_workshop_elements_old] => phpu_workshop_elements_old [phpu_workshop_grades] => phpu_workshop_grades [phpu_workshop_grades_old] => phpu_workshop_grades_old [phpu_workshop_old] => phpu_workshop_old [phpu_workshop_rubrics_old] => phpu_workshop_rubrics_old [phpu_workshop_stockcomments_old] => phpu_workshop_stockcomments_old [phpu_workshop_submissions] => phpu_workshop_submissions [phpu_workshop_submissions_old] => phpu_workshop_submissions_old [phpu_workshopallocation_scheduled] => phpu_workshopallocation_scheduled [phpu_workshopeval_best_settings] => phpu_workshopeval_best_settings [phpu_workshopform_accumulative] => phpu_workshopform_accumulative [phpu_workshopform_comments] => phpu_workshopform_comments [phpu_workshopform_numerrors] => phpu_workshopform_numerrors [phpu_workshopform_numerrors_map] => phpu_workshopform_numerrors_map [phpu_workshopform_rubric] => phpu_workshopform_rubric [phpu_workshopform_rubric_config] => phpu_workshopform_rubric_config [phpu_workshopform_rubric_levels] => phpu_workshopform_rubric_levels [portfolio_instance] => portfolio_instance [portfolio_instance_config] => portfolio_instance_config [portfolio_instance_user] => portfolio_instance_user [portfolio_log] => portfolio_log [portfolio_mahara_queue] => portfolio_mahara_queue [portfolio_tempdata] => portfolio_tempdata [post] => post [profiling] => profiling [qtype_essay_options] => qtype_essay_options [question] => question [question_answers] => question_answers [question_attempt_step_data] => question_attempt_step_data [question_attempt_steps] => question_attempt_steps [question_attempts] => question_attempts [question_calculated] => question_calculated [question_calculated_options] => question_calculated_options [question_categories] => question_categories [question_dataset_definitions] => question_dataset_definitions [question_dataset_items] => question_dataset_items [question_datasets] => question_datasets [question_hints] => question_hints [question_match] => question_match [question_match_sub] => question_match_sub [question_multianswer] => question_multianswer [question_multichoice] => question_multichoice [question_numerical] => question_numerical [question_numerical_options] => question_numerical_options [question_numerical_units] => question_numerical_units [question_randomsamatch] => question_randomsamatch [question_sessions] => question_sessions [question_shortanswer] => question_shortanswer [question_states] => question_states [question_truefalse] => question_truefalse [question_usages] => question_usages [quiz] => quiz [quiz_attempts] => quiz_attempts [quiz_feedback] => quiz_feedback [quiz_grades] => quiz_grades [quiz_overrides] => quiz_overrides [quiz_overview_regrades] => quiz_overview_regrades [quiz_question_instances] => quiz_question_instances [quiz_question_response_stats] => quiz_question_response_stats [quiz_question_statistics] => quiz_question_statistics [quiz_reports] => quiz_reports [quiz_statistics] => quiz_statistics [rating] => rating [registration_hubs] => registration_hubs [repository] => repository [repository_instance_config] => repository_instance_config [repository_instances] => repository_instances [resource] => resource [resource_old] => resource_old [role] => role [role_allow_assign] => role_allow_assign [role_allow_override] => role_allow_override [role_allow_switch] => role_allow_switch [role_assignments] => role_assignments [role_capabilities] => role_capabilities [role_context_levels] => role_context_levels [role_names] => role_names [role_sortorder] => role_sortorder [scale] => scale [scale_history] => scale_history [scorm] => scorm [scorm_aicc_session] => scorm_aicc_session [scorm_scoes] => scorm_scoes [scorm_scoes_data] => scorm_scoes_data [scorm_scoes_track] => scorm_scoes_track [scorm_seq_mapinfo] => scorm_seq_mapinfo [scorm_seq_objective] => scorm_seq_objective [scorm_seq_rolluprule] => scorm_seq_rolluprule [scorm_seq_rolluprulecond] => scorm_seq_rolluprulecond [scorm_seq_rulecond] => scorm_seq_rulecond [scorm_seq_ruleconds] => scorm_seq_ruleconds [sessions] => sessions [stats_daily] => stats_daily [stats_monthly] => stats_monthly [stats_user_daily] => stats_user_daily [stats_user_monthly] => stats_user_monthly [stats_user_weekly] => stats_user_weekly [stats_weekly] => stats_weekly [survey] => survey [survey_analysis] => survey_analysis [survey_answers] => survey_answers [survey_questions] => survey_questions [tag] => tag [tag_correlation] => tag_correlation [tag_instance] => tag_instance [timezone] => timezone [tool_customlang] => tool_customlang [tool_customlang_components] => tool_customlang_components [upgrade_log] => upgrade_log [url] => url [user] => user [user_enrolments] => user_enrolments [user_info_category] => user_info_category [user_info_data] => user_info_data [user_info_field] => user_info_field [user_lastaccess] => user_lastaccess [user_preferences] => user_preferences [user_private_key] => user_private_key [webdav_locks] => webdav_locks [wiki] => wiki [wiki_links] => wiki_links [wiki_locks] => wiki_locks [wiki_pages] => wiki_pages [wiki_subwikis] => wiki_subwikis [wiki_synonyms] => wiki_synonyms [wiki_versions] => wiki_versions [workshop] => workshop [workshop_aggregations] => workshop_aggregations [workshop_assessments] => workshop_assessments [workshop_assessments_old] => workshop_assessments_old [workshop_comments_old] => workshop_comments_old [workshop_elements_old] => workshop_elements_old [workshop_grades] => workshop_grades [workshop_grades_old] => workshop_grades_old [workshop_old] => workshop_old [workshop_rubrics_old] => workshop_rubrics_old [workshop_stockcomments_old] => workshop_stockcomments_old [workshop_submissions] => workshop_submissions [workshop_submissions_old] => workshop_submissions_old [workshopallocation_scheduled] => workshopallocation_scheduled [workshopeval_best_settings] => workshopeval_best_settings [workshopform_accumulative] => workshopform_accumulative [workshopform_comments] => workshopform_comments [workshopform_numerrors] => workshopform_numerrors [workshopform_numerrors_map] => workshopform_numerrors_map [workshopform_rubric] => workshopform_rubric [workshopform_rubric_config] => workshopform_rubric_config [workshopform_rubric_levels] => workshopform_rubric_levels ) string(4) "mdl_"   Array ( [assign] => assign [assign_grades] => assign_grades [assign_plugin_config] => assign_plugin_config [assign_submission] => assign_submission [assignfeedback_comments] => assignfeedback_comments [assignfeedback_file] => assignfeedback_file [assignment] => assignment [assignment_submissions] => assignment_submissions [assignsubmission_file] => assignsubmission_file [assignsubmission_onlinetext] => assignsubmission_onlinetext [backup_controllers] => backup_controllers [backup_courses] => backup_courses [backup_files] => backup_files [backup_files_template] => backup_files_template [backup_ids] => backup_ids [backup_ids_template] => backup_ids_template [backup_logs] => backup_logs [block] => block [block_community] => block_community [block_instances] => block_instances [block_positions] => block_positions [block_rss_client] => block_rss_client [blog_association] => blog_association [blog_external] => blog_external [cache_filters] => cache_filters [cache_flags] => cache_flags [cache_text] => cache_text [capabilities] => capabilities [chat] => chat [chat_messages] => chat_messages [chat_messages_current] => chat_messages_current [chat_users] => chat_users [choice] => choice [choice_answers] => choice_answers [choice_options] => choice_options [cohort] => cohort [cohort_members] => cohort_members [comments] => comments [config] => config [config_log] => config_log [config_plugins] => config_plugins [context] => context [context_temp] => context_temp [course] => course [course_categories] => course_categories [course_completion_aggr_methd] => course_completion_aggr_methd [course_completion_crit_compl] => course_completion_crit_compl [course_completion_criteria] => course_completion_criteria [course_completion_notify] => course_completion_notify [course_completions] => course_completions [course_modules] => course_modules [course_modules_availability] => course_modules_availability [course_modules_completion] => course_modules_completion [course_published] => course_published [course_request] => course_request [course_sections] => course_sections [data] => data [data_content] => data_content [data_fields] => data_fields [data_records] => data_records [enrol] => enrol [enrol_authorize] => enrol_authorize [enrol_authorize_refunds] => enrol_authorize_refunds [enrol_flatfile] => enrol_flatfile [enrol_paypal] => enrol_paypal [event] => event [events_handlers] => events_handlers [events_queue] => events_queue [events_queue_handlers] => events_queue_handlers [external_functions] => external_functions [external_services] => external_services [external_services_functions] => external_services_functions [external_services_users] => external_services_users [external_tokens] => external_tokens [feedback] => feedback [feedback_completed] => feedback_completed [feedback_completedtmp] => feedback_completedtmp [feedback_item] => feedback_item [feedback_sitecourse_map] => feedback_sitecourse_map [feedback_template] => feedback_template [feedback_tracking] => feedback_tracking [feedback_value] => feedback_value [feedback_valuetmp] => feedback_valuetmp [files] => files [filter_active] => filter_active [filter_config] => filter_config [folder] => folder [forum] => forum [forum_discussions] => forum_discussions [forum_posts] => forum_posts [forum_queue] => forum_queue [forum_read] => forum_read [forum_subscriptions] => forum_subscriptions [forum_track_prefs] => forum_track_prefs [glossary] => glossary [glossary_alias] => glossary_alias [glossary_categories] => glossary_categories [glossary_entries] => glossary_entries [glossary_entries_categories] => glossary_entries_categories [glossary_formats] => glossary_formats [grade_categories] => grade_categories [grade_categories_history] => grade_categories_history [grade_grades] => grade_grades [grade_grades_history] => grade_grades_history [grade_import_newitem] => grade_import_newitem [grade_import_values] => grade_import_values [grade_items] => grade_items [grade_items_history] => grade_items_history [grade_letters] => grade_letters [grade_outcomes] => grade_outcomes [grade_outcomes_courses] => grade_outcomes_courses [grade_outcomes_history] => grade_outcomes_history [grade_settings] => grade_settings [grading_areas] => grading_areas [grading_definitions] => grading_definitions [grading_instances] => grading_instances [gradingform_guide_comments] => gradingform_guide_comments [gradingform_guide_criteria] => gradingform_guide_criteria [gradingform_guide_fillings] => gradingform_guide_fillings [gradingform_rubric_criteria] => gradingform_rubric_criteria [gradingform_rubric_fillings] => gradingform_rubric_fillings [gradingform_rubric_levels] => gradingform_rubric_levels [groupings] => groupings [groupings_groups] => groupings_groups [groups] => groups [groups_members] => groups_members [imscp] => imscp [label] => label [lesson] => lesson [lesson_answers] => lesson_answers [lesson_attempts] => lesson_attempts [lesson_branch] => lesson_branch [lesson_grades] => lesson_grades [lesson_high_scores] => lesson_high_scores [lesson_pages] => lesson_pages [lesson_timer] => lesson_timer [license] => license [log] => log [log_display] => log_display [log_queries] => log_queries [lti] => lti [lti_submission] => lti_submission [lti_types] => lti_types [lti_types_config] => lti_types_config [message] => message [message_contacts] => message_contacts [message_processors] => message_processors [message_providers] => message_providers [message_read] => message_read [message_working] => message_working [mnet_application] => mnet_application [mnet_host] => mnet_host [mnet_host2service] => mnet_host2service [mnet_log] => mnet_log [mnet_remote_rpc] => mnet_remote_rpc [mnet_remote_service2rpc] => mnet_remote_service2rpc [mnet_rpc] => mnet_rpc [mnet_service] => mnet_service [mnet_service2rpc] => mnet_service2rpc [mnet_session] => mnet_session [mnet_sso_access_control] => mnet_sso_access_control [mnetservice_enrol_courses] => mnetservice_enrol_courses [mnetservice_enrol_enrolments] => mnetservice_enrol_enrolments [modules] => modules [my_pages] => my_pages [page] => page [portfolio_instance] => portfolio_instance [portfolio_instance_config] => portfolio_instance_config [portfolio_instance_user] => portfolio_instance_user [portfolio_log] => portfolio_log [portfolio_mahara_queue] => portfolio_mahara_queue [portfolio_tempdata] => portfolio_tempdata [post] => post [profiling] => profiling [qtype_essay_options] => qtype_essay_options [question] => question [question_answers] => question_answers [question_attempt_step_data] => question_attempt_step_data [question_attempt_steps] => question_attempt_steps [question_attempts] => question_attempts [question_calculated] => question_calculated [question_calculated_options] => question_calculated_options [question_categories] => question_categories [question_dataset_definitions] => question_dataset_definitions [question_dataset_items] => question_dataset_items [question_datasets] => question_datasets [question_hints] => question_hints [question_match] => question_match [question_match_sub] => question_match_sub [question_multianswer] => question_multianswer [question_multichoice] => question_multichoice [question_numerical] => question_numerical [question_numerical_options] => question_numerical_options [question_numerical_units] => question_numerical_units [question_randomsamatch] => question_randomsamatch [question_sessions] => question_sessions [question_shortanswer] => question_shortanswer [question_states] => question_states [question_truefalse] => question_truefalse [question_usages] => question_usages [quiz] => quiz [quiz_attempts] => quiz_attempts [quiz_feedback] => quiz_feedback [quiz_grades] => quiz_grades [quiz_overrides] => quiz_overrides [quiz_overview_regrades] => quiz_overview_regrades [quiz_question_instances] => quiz_question_instances [quiz_question_response_stats] => quiz_question_response_stats [quiz_question_statistics] => quiz_question_statistics [quiz_reports] => quiz_reports [quiz_statistics] => quiz_statistics [rating] => rating [registration_hubs] => registration_hubs [repository] => repository [repository_instance_config] => repository_instance_config [repository_instances] => repository_instances [resource] => resource [resource_old] => resource_old [role] => role [role_allow_assign] => role_allow_assign [role_allow_override] => role_allow_override [role_allow_switch] => role_allow_switch [role_assignments] => role_assignments [role_capabilities] => role_capabilities [role_context_levels] => role_context_levels [role_names] => role_names [role_sortorder] => role_sortorder [scale] => scale [scale_history] => scale_history [scorm] => scorm [scorm_aicc_session] => scorm_aicc_session [scorm_scoes] => scorm_scoes [scorm_scoes_data] => scorm_scoes_data [scorm_scoes_track] => scorm_scoes_track [scorm_seq_mapinfo] => scorm_seq_mapinfo [scorm_seq_objective] => scorm_seq_objective [scorm_seq_rolluprule] => scorm_seq_rolluprule [scorm_seq_rolluprulecond] => scorm_seq_rolluprulecond [scorm_seq_rulecond] => scorm_seq_rulecond [scorm_seq_ruleconds] => scorm_seq_ruleconds [sessions] => sessions [stats_daily] => stats_daily [stats_monthly] => stats_monthly [stats_user_daily] => stats_user_daily [stats_user_monthly] => stats_user_monthly [stats_user_weekly] => stats_user_weekly [stats_weekly] => stats_weekly [survey] => survey [survey_analysis] => survey_analysis [survey_answers] => survey_answers [survey_questions] => survey_questions [tag] => tag [tag_correlation] => tag_correlation [tag_instance] => tag_instance [timezone] => timezone [tool_customlang] => tool_customlang [tool_customlang_components] => tool_customlang_components [upgrade_log] => upgrade_log [url] => url [user] => user [user_enrolments] => user_enrolments [user_info_category] => user_info_category [user_info_data] => user_info_data [user_info_field] => user_info_field [user_lastaccess] => user_lastaccess [user_preferences] => user_preferences [user_private_key] => user_private_key [webdav_locks] => webdav_locks [wiki] => wiki [wiki_links] => wiki_links [wiki_locks] => wiki_locks [wiki_pages] => wiki_pages [wiki_subwikis] => wiki_subwikis [wiki_synonyms] => wiki_synonyms [wiki_versions] => wiki_versions [workshop] => workshop [workshop_aggregations] => workshop_aggregations [workshop_assessments] => workshop_assessments [workshop_assessments_old] => workshop_assessments_old [workshop_comments_old] => workshop_comments_old [workshop_elements_old] => workshop_elements_old [workshop_grades] => workshop_grades [workshop_grades_old] => workshop_grades_old [workshop_old] => workshop_old [workshop_rubrics_old] => workshop_rubrics_old [workshop_stockcomments_old] => workshop_stockcomments_old [workshop_submissions] => workshop_submissions [workshop_submissions_old] => workshop_submissions_old [workshopallocation_scheduled] => workshopallocation_scheduled [workshopeval_best_settings] => workshopeval_best_settings [workshopform_accumulative] => workshopform_accumulative [workshopform_comments] => workshopform_comments [workshopform_numerrors] => workshopform_numerrors [workshopform_numerrors_map] => workshopform_numerrors_map [workshopform_rubric] => workshopform_rubric [workshopform_rubric_config] => workshopform_rubric_config [workshopform_rubric_levels] => workshopform_rubric_levels )
            Hide
            poltawski Dan Poltawski added a comment - - edited

            Hi Andrew,

            The phpunit failures are a problem your setup.

            Show
            poltawski Dan Poltawski added a comment - - edited Hi Andrew, The phpunit failures are a problem your setup.
            Hide
            andyjdavis Andrew Davis added a comment -

            I'm going out for a while. Im removing myself as tester so as not to hold this up.

            Show
            andyjdavis Andrew Davis added a comment - I'm going out for a while. Im removing myself as tester so as not to hold this up.
            Hide
            poltawski Dan Poltawski added a comment -

            Please can you help improve this documentation page i've just created: http://docs.moodle.org/dev/Common_unit_test_problems

            Show
            poltawski Dan Poltawski added a comment - Please can you help improve this documentation page i've just created: http://docs.moodle.org/dev/Common_unit_test_problems
            Hide
            andyjdavis Andrew Davis added a comment -

            If you are running Moodle with no database prefix is it expected that get_tables() will return all tables as in https://tracker.moodle.org/browse/MDL-32930?focusedCommentId=157561&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157561

            I'm not sure how we'd prevent it however it seems wrong.

            Show
            andyjdavis Andrew Davis added a comment - If you are running Moodle with no database prefix is it expected that get_tables() will return all tables as in https://tracker.moodle.org/browse/MDL-32930?focusedCommentId=157561&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157561 I'm not sure how we'd prevent it however it seems wrong.
            Hide
            phalacee Jason Fowler added a comment -

            works fine, manual only shows the mdl_ tables not the phpu_ ones for my unit tests, and none of the extra ones I created myself

            Show
            phalacee Jason Fowler added a comment - works fine, manual only shows the mdl_ tables not the phpu_ ones for my unit tests, and none of the extra ones I created myself
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            U P S T R E A M I Z E D !

            Many thanks for the hard work, closing this as fixed.

            Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - U P S T R E A M I Z E D ! Many thanks for the hard work, closing this as fixed. Ciao

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12