Skip to content

Commit

Permalink
Show notice at bottom. Merged with HEAD.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethem committed Oct 31, 2006
1 parent 5cc8148 commit c92727a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions enrol/authorize/uploadcsv.php
Expand Up @@ -46,7 +46,7 @@

function authorize_process_csv($filename)
{
global $CFG;
global $CFG, $SITE;

/// We need these fields
$myfields = array(
Expand Down Expand Up @@ -192,9 +192,6 @@ function authorize_process_csv($filename)
}
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();
Expand All @@ -205,6 +202,9 @@ function authorize_process_csv($filename)
if (!empty($sendem)) {
send_welcome_messages($sendem);
}

/// Show result
notice("<b>Done...</b><br />Imported: $imported<br />Updated: $updated<br />Ignored: $ignored");
}

?>

0 comments on commit c92727a

Please sign in to comment.