mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-10-22 19:18:06 +02:00
Fix #86c89ftg9 - Remove PHP 7.4 typed properties for PHP 7.3 compatibility
Remove typed property declarations to prevent fatal parse errors on Moodle 4.0.x servers running PHP 7.3. Lower environment.xml PHP requirement from 7.4 to 7.3. Fixes #13
This commit is contained in:
1 parent
e74ed2ae69
commit
af275d1699
2 files changed
+3
-3
No files matched your search
@@ -42,14 +42,14 @@ class condition extends \core_availability\condition {
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected string $ipaddresses = '';
|
protected $ipaddresses = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Predefined IP address ranges.
|
* Predefined IP address ranges.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected array $predefinedranges = [];
|
protected $predefinedranges = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* condition constructor.
|
* condition constructor.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<COMPATIBILITY_MATRIX>
|
<COMPATIBILITY_MATRIX>
|
||||||
<PLUGIN name="availability_ipaddress">
|
<PLUGIN name="availability_ipaddress">
|
||||||
<PHP version="7.4" level="required"/>
|
<PHP version="7.3" level="required"/>
|
||||||
</PLUGIN>
|
</PLUGIN>
|
||||||
</COMPATIBILITY_MATRIX>
|
</COMPATIBILITY_MATRIX>
|
||||||
Reference in new issue
Block a user