fixed content of notification mail

This commit is contained in:
steinm 2012-12-14 08:06:13 +00:00
parent 2b4a96e8f5
commit b67ece54a2

View File

@ -62,11 +62,11 @@ if (!$document->removeDocumentFile($fileid)) {
// Send notification to subscribers.
$document->getNotifyList();
if($notifier) {
$subject = "###SITENAME###: ".$document->_name." - ".getMLText("removed_file_email");
$subject = "###SITENAME###: ".$document->getName()." - ".getMLText("removed_file_email");
$message = getMLText("removed_file_email")."\r\n";
$message .=
getMLText("name").": ".$name."\r\n".
getMLText("comment").": ".$comment."\r\n".
getMLText("name").": ".$document->getName()."\r\n".
getMLText("file").": ".$file->getOriginalFileName()."\r\n".
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() .">\r\n".
"URL: ###URL_PREFIX###out/out.ViewDocument.php?documentid=".$document->getID()."\r\n";