Skip to content

Commit

Permalink
#10618 Add relevant constants for used notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Nov 28, 2024
1 parent 32ae2b4 commit fa01bb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/dashboard/PKPDashboardHandlerNext.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
use PKP\plugins\PluginRegistry;

use PKP\notification\Notification;
use PKP\log\SubmissionEmailLogEventType;

define('SUBMISSIONS_LIST_ACTIVE', 'active');
define('SUBMISSIONS_LIST_ARCHIVE', 'archive');
Expand Down Expand Up @@ -265,7 +266,12 @@ public function index($args, $request)
'NOTIFICATION_TYPE_ASSIGN_PRODUCTIONUSER' => Notification::NOTIFICATION_TYPE_ASSIGN_PRODUCTIONUSER,
'NOTIFICATION_TYPE_AWAITING_REPRESENTATIONS' => Notification::NOTIFICATION_TYPE_AWAITING_REPRESENTATIONS,

// OMP specific constants
'NOTIFICATION_TYPE_ASSIGN_COPYEDITOR' => Notification::NOTIFICATION_TYPE_ASSIGN_COPYEDITOR,
'NOTIFICATION_TYPE_AWAITING_COPYEDITS' => Notification::NOTIFICATION_TYPE_AWAITING_COPYEDITS,


// Email log event types
'EMAIL_LOG_EVENT_TYPE_EDITOR_NOTIFY_AUTHOR' => SubmissionEmailLogEventType::EDITOR_NOTIFY_AUTHOR
]);

$this->setupIndex($request);
Expand Down

0 comments on commit fa01bb0

Please sign in to comment.