Skip to content

Commit 6279bbb

Browse files
authored
Merge pull request #31 from NinaHerrmann/master
Moodle 3.5
2 parents 9cb4181 + 0c39d97 commit 6279bbb

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

block_groups.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
defined('MOODLE_INTERNAL') || die();
1818

1919
require_once($CFG->dirroot.'/blocks/groups/locallib.php');
20+
/**
21+
* The File for the block groups class.
22+
*
23+
* Displays a group and grouping block.
24+
*
25+
* @package block_groups
26+
* @copyright 2016/17 N Herrmann
27+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
28+
*/
2029
/**
2130
* The block_group class
2231
*
@@ -26,7 +35,6 @@
2635
* @copyright 2016/17 N Herrmann
2736
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2837
*/
29-
3038
class block_groups extends block_base
3139
{
3240
/**

classes/privacy/provider.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Privacy Subsystem implementation for block_groups.
1919
*
2020
* @package block_groups
21-
* @copyright 2018 Tamara Gunkel
21+
* @copyright 2018 Tamara Gunkel, Nina Herrmann
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -29,18 +29,19 @@
2929
/**
3030
* Privacy Subsystem for block_groups implementing null_provider.
3131
*
32-
* @copyright 2018 Tamara Gunkel
32+
* @copyright 2018 Tamara Gunkel, Nina Herrmann
3333
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3434
*/
3535
class provider implements \core_privacy\local\metadata\null_provider {
36-
36+
// This trait must be included.
37+
use \core_privacy\local\legacy_polyfill;
3738
/**
3839
* Get the language string identifier with the component's language
3940
* file to explain why this plugin stores no data.
4041
*
4142
* @return string
4243
*/
43-
public static function get_reason() : string {
44+
public static function _get_reason() {
4445
return 'privacy:metadata';
4546
}
4647
}

version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
defined('MOODLE_INTERNAL') || die();
2525

2626

27-
$plugin->version = 2018050400; // The current plugin version (Date: YYYYMMDDXX).
27+
$plugin->version = 2018050800; // The current plugin version (Date: YYYYMMDDXX).
2828
$plugin->requires = 2015111000; // Requires this Moodle version.
2929
$plugin->component = 'block_groups'; // Full name of the plugin (used for diagnostics).
30-
$plugin->release = 'v3.5-r1';
30+
$plugin->release = 'v3.5-r2';
3131
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)