mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-10-22 11:08:07 +02:00
Update #86c2xmcmw - upgraded plugin to M45
This commit is contained in:
1 parent
c2f5e7e22c
commit
a836731b24
1 file changed
+1
-3
@@ -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