Skip to content

Commit

Permalink
Merge pull request #31 from NinaHerrmann/master
Browse files Browse the repository at this point in the history
Moodle 3.5
  • Loading branch information
NinaHerrmann authored May 11, 2018
2 parents 9cb4181 + 0c39d97 commit 6279bbb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
10 changes: 9 additions & 1 deletion block_groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
defined('MOODLE_INTERNAL') || die();

require_once($CFG->dirroot.'/blocks/groups/locallib.php');
/**
* The File for the block groups class.
*
* Displays a group and grouping block.
*
* @package block_groups
* @copyright 2016/17 N Herrmann
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* The block_group class
*
Expand All @@ -26,7 +35,6 @@
* @copyright 2016/17 N Herrmann
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

class block_groups extends block_base
{
/**
Expand Down
9 changes: 5 additions & 4 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Privacy Subsystem implementation for block_groups.
*
* @package block_groups
* @copyright 2018 Tamara Gunkel
* @copyright 2018 Tamara Gunkel, Nina Herrmann
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -29,18 +29,19 @@
/**
* Privacy Subsystem for block_groups implementing null_provider.
*
* @copyright 2018 Tamara Gunkel
* @copyright 2018 Tamara Gunkel, Nina Herrmann
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class provider implements \core_privacy\local\metadata\null_provider {

// This trait must be included.
use \core_privacy\local\legacy_polyfill;
/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason() : string {
public static function _get_reason() {
return 'privacy:metadata';
}
}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
defined('MOODLE_INTERNAL') || die();


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

0 comments on commit 6279bbb

Please sign in to comment.