mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 11:29:01 +00:00
more documentation
This commit is contained in:
parent
401cd7dd1c
commit
dce2b753a8
|
@ -123,6 +123,7 @@ else if ($action == "addnotify") {
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||||
|
/* Send notification only to the user being added as a notifier */
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$obj = $dms->getUser($userid);
|
$obj = $dms->getUser($userid);
|
||||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
||||||
|
@ -148,6 +149,7 @@ else if ($action == "addnotify") {
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||||
|
/* Send notification only to the group being added as a notifier */
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$obj = $dms->getGroup($groupid);
|
$obj = $dms->getGroup($groupid);
|
||||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user