diff --git a/classes/flavours_overview_table.php b/classes/table/flavours_overview.php similarity index 98% rename from classes/flavours_overview_table.php rename to classes/table/flavours_overview.php index 74ff78dd073..a175b00e9a2 100644 --- a/classes/flavours_overview_table.php +++ b/classes/table/flavours_overview.php @@ -24,7 +24,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_boost_union; +namespace theme_boost_union\table; defined('MOODLE_INTERNAL') || die(); @@ -40,7 +40,7 @@ * @copyright based on code by bdecent gmbh in format_kickstart. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class flavours_overview_table extends \table_sql { +class flavours_overview extends \table_sql { /** * Setup table. diff --git a/flavours/overview.php b/flavours/overview.php index d2ee621936b..981a4222549 100644 --- a/flavours/overview.php +++ b/flavours/overview.php @@ -102,7 +102,7 @@ $PAGE->set_heading(theme_boost_union_get_externaladminpage_heading()); // Build flavours table. -$table = new \theme_boost_union\flavours_overview_table(); +$table = new \theme_boost_union\table\flavours_overview(); $table->define_baseurl($PAGE->url); // Start page output.