src/Maintenance/Maintenance.php
public function clearWhitelist($ips = []) {
		$files = glob(TMP . 'maintenanceOverride-*.txt');
		foreach ($files as $file) {
			$ip = pathinfo($file, PATHINFO_FILENAME);
			$ip = substr($ip, strpos($ip, '-') + 1);
			if (!$ips || in_array($this->_unslugIp($ip), $ips)) {
				if (!unlink($file)) {
					return false;
				}
			}
		}
		return true;
	}
public function clearWhitelist($ips = []) {
		$files = glob(TMP . 'maintenanceOverride-*.txt');
		foreach ($files as $file) {
			$ip = pathinfo($file, PATHINFO_FILENAME);
			$ip = substr($ip, strpos($ip, '-') + 1);
			if (!$ips || in_array($this->_unslugIp($ip), $ips)) {
				if (!unlink($file)) {
					return false;
				}
			}
		}
		return true;
	}
public function clearWhitelist ( $ ips = [ ] ) { $ files = glob ( TMP . 'maintenanceOverride-*.txt' ) ; foreach ( $ files as $ file ) { $ ip = pathinfo ( $ file , PATHINFO_FILENAME ) ; $ ip = substr ( $ ip , strpos ( $ ip , '-' ) + 1 ) ; if ( ! $ ips || in_array ( $ this -> _unslugIp ( $ ip ) , $ ips ) ) { if ( ! unlink ( $ file ) ) { return false ; } } } return true ; }
Clear whitelist. If IPs are passed, only those will be removed, otherwise all.

@param array $ips
@return bool Success
Clear whitelist . If IPs are passed only those will be removed otherwise all .