require_variable() and optional_variable() replaced with required_param() and optional_param().
require_variable() and optional_variable() replaced with required_param()
and optional_param().

dilawar/moodle