mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
send notification mail when new attachment was added
This commit is contained in:
parent
33c10fc1db
commit
13ad0788a3
|
@ -896,6 +896,9 @@ switch($command) {
|
|||
header('Content-Type: application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>getMLText('error_occured'), 'data'=>''));
|
||||
} else {
|
||||
if($notifier) {
|
||||
$notifier->sendNewFileMail($res, $user);
|
||||
}
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode(array('success'=>true, 'message'=>getMLText('splash_document_added'), 'data'=>$document->getID()));
|
||||
add_log_line();
|
||||
|
|
Loading…
Reference in New Issue
Block a user