From: thepurpleblob Date: Fri, 10 Mar 2006 11:11:32 +0000 (+0000) Subject: Removed bad bad bad isset_param() function. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7277ee54ca2031d65ea90c0f2209a0557c52da2a;p=moodle.git Removed bad bad bad isset_param() function. --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index c88283e3ad..df5f02b746 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -274,20 +274,6 @@ function optional_param($parname, $default=NULL, $type=PARAM_CLEAN) { return clean_param($param, $type); } -/** - * HACK ALERT! Do not use this function, it will be removed soon!! - * @todo Remove this function soon! - */ -function isset_param($varname) { - if (isset($_GET[$varname])) { - return true; - } - if (isset($_POST[$varname])) { - return true; - } - return false; -} - /** * Used by {@link optional_param()} and {@link required_param()} to * clean the variables and/or cast to specific types, based on