mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16: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
|
@ -47,33 +47,33 @@ abstract class base_bin {
|
|||
*
|
||||
* @param int $itemid Item ID to retrieve.
|
||||
*/
|
||||
public abstract function get_item($itemid);
|
||||
abstract public function get_item($itemid);
|
||||
|
||||
/**
|
||||
* Returns a list of items in the recycle bin.
|
||||
*/
|
||||
public abstract function get_items();
|
||||
abstract public function get_items();
|
||||
|
||||
/**
|
||||
* Store an item in this recycle bin.
|
||||
*
|
||||
* @param \stdClass $item Item to store.
|
||||
*/
|
||||
public abstract function store_item($item);
|
||||
abstract public function store_item($item);
|
||||
|
||||
/**
|
||||
* Restore an item from the recycle bin.
|
||||
*
|
||||
* @param \stdClass $item The item database record
|
||||
*/
|
||||
public abstract function restore_item($item);
|
||||
abstract public function restore_item($item);
|
||||
|
||||
/**
|
||||
* Delete an item from the recycle bin.
|
||||
*
|
||||
* @param \stdClass $item The item database record
|
||||
*/
|
||||
public abstract function delete_item($item);
|
||||
abstract public function delete_item($item);
|
||||
|
||||
/**
|
||||
* Empty the recycle bin.
|
||||
|
@ -91,15 +91,15 @@ abstract class base_bin {
|
|||
/**
|
||||
* Can we view items in this recycle bin?
|
||||
*/
|
||||
public abstract function can_view();
|
||||
abstract public function can_view();
|
||||
|
||||
/**
|
||||
* Can we restore items in this recycle bin?
|
||||
*/
|
||||
public abstract function can_restore();
|
||||
abstract public function can_restore();
|
||||
|
||||
/**
|
||||
* Can we delete this?
|
||||
*/
|
||||
public abstract function can_delete();
|
||||
abstract public function can_delete();
|
||||
}
|
||||
|
|
|
@ -40,7 +40,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