mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-05-16 21:41:28 +02:00
Update #86c2xmcmw - upgraded plugin to M45
This commit is contained in:
@@ -112,9 +112,7 @@ class condition extends \core_availability\condition {
|
|||||||
* @param bool $not Set true if we are inverting the condition
|
* @param bool $not Set true if we are inverting the condition
|
||||||
* @param info $info Item we're checking
|
* @param info $info Item we're checking
|
||||||
*
|
*
|
||||||
* @return string Information string (for admin) about all restrictions on
|
* @return string Information string (for admin) about all restrictions on this item
|
||||||
* this item
|
|
||||||
* @throws \coding_exception
|
|
||||||
*/
|
*/
|
||||||
public function get_description($full, $not, info $info): string {
|
public function get_description($full, $not, info $info): string {
|
||||||
return get_string('require_condition', 'availability_ipaddress', getremoteaddr());
|
return get_string('require_condition', 'availability_ipaddress', getremoteaddr());
|
||||||
|
|||||||
Reference in New Issue
Block a user