Removed return statement that prevented the rest of the script from executing

This commit is contained in:
Mark Nelson 2013-05-06 18:23:28 +08:00
parent d8677842d3
commit faedb6f7e0

View file

@ -106,7 +106,7 @@ if ((!empty($moveup)) || (!empty($movedown))) {
$element = $DB->get_record('customcert_elements', array('id' => $deleteelement), '*', MUST_EXIST);
// Get an instance of the element class.
if ($e = customcert_get_element_instance($element)) {
return $e->delete_element();
$e->delete_element();
}
}