mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +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['folder_path'] = $folder->getFolderPathPlain();
|
||||||
$params['username'] = $user->getFullName();
|
$params['username'] = $user->getFullName();
|
||||||
$params['comment'] = $document->getComment();
|
$params['comment'] = $document->getComment();
|
||||||
|
$params['version'] = $lc->getVersion();
|
||||||
$params['version_comment'] = $lc->getComment();
|
$params['version_comment'] = $lc->getComment();
|
||||||
$params['url'] = getBaseUrl().$this->settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
$params['url'] = getBaseUrl().$this->settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||||
$params['sitename'] = $this->settings->_siteName;
|
$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.
|
* This notification is sent when a new folder is created.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user