aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-06-27 21:25:43 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-07-11 01:19:42 +0200
commitc0183cabd09994839170238fd5e2a87f1b48880b (patch)
treec6101a2a8b47a750103c2ce65d8ff100367c8968 /phpBB/includes/functions_user.php
parented44235d26180c539eaf7af5e5b15c7fcb96ce45 (diff)
downloadforums-c0183cabd09994839170238fd5e2a87f1b48880b.tar
forums-c0183cabd09994839170238fd5e2a87f1b48880b.tar.gz
forums-c0183cabd09994839170238fd5e2a87f1b48880b.tar.bz2
forums-c0183cabd09994839170238fd5e2a87f1b48880b.tar.xz
forums-c0183cabd09994839170238fd5e2a87f1b48880b.zip
[ticket/9534] Update function documentation for user_ipwhois().
PHPBB3-9534
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index c2ea8445d1..467668d3ee 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1229,9 +1229,13 @@ function user_unban($mode, $ban)
}
/**
-* Whois facility
+* Internet Protocol Address Whois
+* RFC3912: WHOIS Protocol Specification
*
-* @link http://tools.ietf.org/html/rfc3912 RFC3912: WHOIS Protocol Specification
+* @param string $ip Ip address, either IPv4 or IPv6.
+*
+* @return string Empty string if not a valid ip address.
+* Otherwise make_clickable()'ed whois result.
*/
function user_ipwhois($ip)
{