mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
This commit is contained in:
commit
3278ce7aba
1147 changed files with 2621 additions and 2617 deletions
|
@ -374,7 +374,7 @@ abstract class contenttype {
|
|||
* @param content $content The content to be managed.
|
||||
* @return bool True if content could be managed. False otherwise.
|
||||
*/
|
||||
public final function can_manage(content $content): bool {
|
||||
final public function can_manage(content $content): bool {
|
||||
global $USER;
|
||||
|
||||
if ($this->context->id != $content->get_content()->contextid) {
|
||||
|
|
|
@ -38,7 +38,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_reason() : string {
|
||||
public static function get_reason(): string {
|
||||
return 'privacy:metadata';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue