From 127013ee96fb5b90b28890db577cf246349dee8c Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 13 Aug 2023 15:43:10 +0200 Subject: [PATCH] Move flavours table into class subfolder --- .../flavours_overview.php} | 4 ++-- flavours/overview.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename classes/{flavours_overview_table.php => table/flavours_overview.php} (98%) 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.