mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
add version to document update mail, add stub for remove version mail
This commit is contained in:
parent
97c001acbe
commit
0852d10df4
|
@ -284,6 +284,7 @@ class SeedDMS_NotificationService {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['comment'] = $document->getComment();
|
||||
$params['version'] = $lc->getVersion();
|
||||
$params['version_comment'] = $lc->getComment();
|
||||
$params['url'] = getBaseUrl().$this->settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $this->settings->_siteName;
|
||||
|
@ -331,6 +332,15 @@ class SeedDMS_NotificationService {
|
|||
}
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* This notification is sent when a document version is deleted.
|
||||
* Keep in mind that $document refers to a document which has just been
|
||||
* deleted from the database, but all the data needed is still in the
|
||||
* object.
|
||||
*/
|
||||
public function sendDeleteDocumentVersionMail($document, $user) { /* {{{ */
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* This notification is sent when a new folder is created.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user