owncloud/core — pull request #5119 by frisco82 (2013-10-04 11:05:28+00:00)
Title: OCShare - Move send email logic from ajax to "service" and add event

This should improve security / antispam measures (previously there was no checks about the file, path, etc. so you could mess with the email sent by OC) and add event for email sending.