[ticket/10820] add function docblock

PHPBB3-10820
This commit is contained in:
Dhruv 2013-02-08 13:58:41 +05:30
parent 9236f12577
commit 8759147674

View file

@ -709,6 +709,10 @@ function file_gc()
exit; exit;
} }
/**
* Check if the browser is internet explorer version 7+
* @returns true if ie7+
*/
function phpbb_is_greater_ie7($browser) function phpbb_is_greater_ie7($browser)
{ {
return (bool) preg_match('/msie (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser)); return (bool) preg_match('/msie (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser));