mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-12-18 08:40:51 +00:00
16 lines
306 B
PHP
16 lines
306 B
PHP
|
<?php
|
||
|
|
||
|
namespace CookieWarning;
|
||
|
|
||
|
class NoopGeoLocation implements GeoLocation {
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
* @param string $ip The IP address to lookup
|
||
|
* @return bool|null NULL if no geolocation service configured, false on error, true otherwise.
|
||
|
*/
|
||
|
public function locate( $ip ) {
|
||
|
return null;
|
||
|
}
|
||
|
}
|