[svn r17388] Fixed Logic changues - Sorry, The function was in a wrong place Implemented add e-mail alert on new suscription to course see FS#734

skala
Carlos Vargas 16 years ago
parent c0a617a78f
commit a25167e00a
  1. 8
      main/inc/lib/course.lib.php

@ -1828,7 +1828,9 @@ class CourseManager
$rs = api_sql_query($sql,__FILE__,__LINE__);
return Database::num_rows($rs);
}
} //end class CourseManager
/**
* Send an email to tutor after the auth-suscription of a student in your course
* @author Carlos Vargas <carlos.vargas@dokeos.com>, Dokeos Latino
@ -1872,6 +1874,4 @@ class CourseManager
$emailheaders .= "Reply-To: ".get_setting('emailAdministrator');
@ api_send_mail($emailto, $emailsubject, $emailbody, $emailheaders);
}
} //end class CourseManager
?>
}
Loading…
Cancel
Save