]> git.mjollnir.org Git - moodle.git/commitdiff
Removed bad bad bad isset_param() function.
authorthepurpleblob <thepurpleblob>
Fri, 10 Mar 2006 11:11:32 +0000 (11:11 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 10 Mar 2006 11:11:32 +0000 (11:11 +0000)
lib/moodlelib.php

index c88283e3ad14c62f87e2d00302bd7046c63ebe75..df5f02b746dc7b42c3578c5ebdf0e4a98a4ba740 100644 (file)
@@ -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