function authorize_process_csv($filename)
{
- global $CFG;
+ global $CFG, $SITE;
/// We need these fields
$myfields = array(
}
fclose($handle);
-/// Show result
- notice("<b>Done...</b><br />Imported: $imported<br />Updated: $updated<br />Ignored: $ignored");
-
/// Send email to admin
if (!empty($ignoredlines)) {
$admin = get_admin();
if (!empty($sendem)) {
send_welcome_messages($sendem);
}
+
+/// Show result
+ notice("<b>Done...</b><br />Imported: $imported<br />Updated: $updated<br />Ignored: $ignored");
}
?>