mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +00:00
remove old commented code
This commit is contained in:
parent
92ff13afc6
commit
4d84aa2ce2
|
@ -122,30 +122,6 @@ if(!$subFolder = $controller->run()) {
|
||||||
// Send notification to subscribers.
|
// Send notification to subscribers.
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$notifier->sendNewFolderMail($subFolder, $user);
|
$notifier->sendNewFolderMail($subFolder, $user);
|
||||||
/*
|
|
||||||
$fnl = $folder->getNotifyList();
|
|
||||||
$snl = $subFolder->getNotifyList();
|
|
||||||
$nl = array(
|
|
||||||
'users'=>array_unique(array_merge($snl['users'], $fnl['users']), SORT_REGULAR),
|
|
||||||
'groups'=>array_unique(array_merge($snl['groups'], $fnl['groups']), SORT_REGULAR)
|
|
||||||
);
|
|
||||||
|
|
||||||
$subject = "new_subfolder_email_subject";
|
|
||||||
$message = "new_subfolder_email_body";
|
|
||||||
$params = array();
|
|
||||||
$params['name'] = $subFolder->getName();
|
|
||||||
$params['folder_name'] = $folder->getName();
|
|
||||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
|
||||||
$params['username'] = $user->getFullName();
|
|
||||||
$params['comment'] = $comment;
|
|
||||||
$params['url'] = getBaseUrl().$settings->_httpRoot."out/out.ViewFolder.php?folderid=".$subFolder->getID();
|
|
||||||
$params['sitename'] = $settings->_siteName;
|
|
||||||
$params['http_root'] = $settings->_httpRoot;
|
|
||||||
$notifier->toList($user, $nl["users"], $subject, $message, $params, SeedDMS_NotificationService::RECV_NOTIFICATION);
|
|
||||||
foreach ($nl["groups"] as $grp) {
|
|
||||||
$notifier->toGroup($user, $grp, $subject, $message, $params, SeedDMS_NotificationService::RECV_NOTIFICATION);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user