|
Lines 163-170
class SubmitHandler extends AuthorHandler {
|
Link Here
|
|---|
|
| 163 |
$article =& $articleDao->getArticle($articleId); |
163 |
$article =& $articleDao->getArticle($articleId); |
| 164 |
$roleDao =& DAORegistry::getDAO('RoleDAO'); |
164 |
$roleDao =& DAORegistry::getDAO('RoleDAO'); |
| 165 |
$notificationUsers = array(); |
165 |
$notificationUsers = array(); |
| 166 |
$editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR); |
166 |
$editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR, $journal->getId()); |
| 167 |
$notifyUsers = $editors->toArray(); |
|
|
| 168 |
while ($editor =& $editors->next()) { |
167 |
while ($editor =& $editors->next()) { |
| 169 |
$url = $request->url(null, 'editor', 'submission', $articleId); |
168 |
$url = $request->url(null, 'editor', 'submission', $articleId); |
| 170 |
$notificationManager->createNotification( |
169 |
$notificationManager->createNotification( |