MDL-12789 - dont unnecessarily iterate over all groups
[moodle.git] / iplookup / ipatlas / lib.php
CommitLineData
f4fb66d7 1<?php // $Id$
2 // Lookup a user using ipatlas and NetGeo
3
4 // The database for this is REALLY old now and this service is
5 // next to useless.
6
7function iplookup_display($ip, $user=0) {
8 global $CFG;
9
10 redirect($CFG->wwwroot.'/iplookup/ipatlas/plot.php?address='.$ip.'&amp;user='.$user);
11}
12
13?>