Remove useless parameters
This commit is contained in:
parent
fd2bfc82f2
commit
147583d58b
@ -692,14 +692,11 @@ function GETPOST($paramname, $check = 'alphanohtml', $method = 0, $filter = null
|
||||
*
|
||||
* @param string $paramname Name of parameter to found
|
||||
* @param int $method Type of method (0 = get then post, 1 = only get, 2 = only post, 3 = post then get)
|
||||
* @param int $filter Filter to apply when $check is set to 'custom'. (See http://php.net/manual/en/filter.filters.php for détails)
|
||||
* @param mixed $options Options to pass to filter_var when $check is set to 'custom'
|
||||
* @param string $noreplace Force disable of replacement of __xxx__ strings.
|
||||
* @return int Value found (int)
|
||||
*/
|
||||
function GETPOSTINT($paramname, $method = 0, $filter = null, $options = null, $noreplace = 0)
|
||||
function GETPOSTINT($paramname, $method = 0)
|
||||
{
|
||||
return (int) GETPOST($paramname, 'int', $method, $filter, $options, $noreplace);
|
||||
return (int) GETPOST($paramname, 'int', $method, null, null, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user