Skip to content
Snippets Groups Projects
Commit e534839e authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Declare visibility of SimpleSAML\Utils\Net::ipCIDRcheck().

parent e017600c
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ class Net ...@@ -23,7 +23,7 @@ class Net
* @author Brook Schofield, GÉANT * @author Brook Schofield, GÉANT
* @author Jaime Perez, UNINETT AS <jaime.perez@uninett.no> * @author Jaime Perez, UNINETT AS <jaime.perez@uninett.no>
*/ */
static function ipCIDRcheck($cidr, $ip = null) public static function ipCIDRcheck($cidr, $ip = null)
{ {
if ($ip === null) { if ($ip === null) {
$ip = $_SERVER['REMOTE_ADDR']; $ip = $_SERVER['REMOTE_ADDR'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment