Skip to content

Commit 0c39d97

Browse files
committed
codestyle moodle does only allow block comments after require
1 parent 2e52f19 commit 0c39d97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

block_groups.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

1717
defined('MOODLE_INTERNAL') || die();
18+
19+
require_once($CFG->dirroot.'/blocks/groups/locallib.php');
1820
/**
1921
* The File for the block groups class.
2022
*
@@ -24,7 +26,6 @@
2426
* @copyright 2016/17 N Herrmann
2527
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2628
*/
27-
require_once($CFG->dirroot.'/blocks/groups/locallib.php');
2829
/**
2930
* The block_group class
3031
*

0 commit comments

Comments
 (0)