[Using Sakai] site creation authorizer email logic
    John Bush 
    john.bush at rsmart.com
       
    Thu Oct 25 16:56:07 PDT 2012
    
    
  
SiteAction only sends the authorizer email when the term is current.
Functionally, can someone explain this, why don't we want to notify
people if the term is in the future?
			if (!isFutureTerm) {
				for (Iterator iInstructors = authorizerList.iterator();
iInstructors.hasNext();)
				{
					String instructorId = (String) iInstructors.next();
					if (requireAuthorizer)
					{
						// 1. email to course site authorizer
						boolean result =
userNotificationProvider.notifyCourseRequestAuthorizer(instructorId,
requestEmail, term != null? term.getTitle():"", requestSectionInfo,
title, id, additional, productionSiteName);
						if (!result)
						{
							// append authorizer who doesn't received an notification
							authorizerNotNotified += instructorId + ", ";
						}
						else
						{
							// append authorizer who does received an notification
							authorizerNotified += instructorId + ", ";
						}
						
					}
				}
			}
-- 
John Bush
602-490-0470
    
    
More information about the sakai-user
mailing list