Skip to content
Snippets Groups Projects
Commit 0d0727b8 authored by Friederike Schwager's avatar Friederike Schwager Committed by Friederike Schwager
Browse files

notifications are off by default

parent cc4ef9c7
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* *
* @package mod_pdfannotator * @package mod_pdfannotator
* @copyright 2018 RWTH Aachen (see README.md) * @copyright 2018 RWTH Aachen (see README.md)
* @authors Rabea de Groot and Anna Heynkes * @authors Rabea de Groot, Anna Heynkes and Friederike Schwager
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* *
*/ */
...@@ -35,10 +35,6 @@ $messageproviders = array ( ...@@ -35,10 +35,6 @@ $messageproviders = array (
// Concerns answers to questions the student subscribed to. // Concerns answers to questions the student subscribed to.
'newanswer' => array ( 'newanswer' => array (
'capability' => 'mod/pdfannotator:viewanswers', // Student capability. 'capability' => 'mod/pdfannotator:viewanswers', // Student capability.
'defaults' => array(
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
)
), ),
// Notify teacher about a newly reported comment. // Notify teacher about a newly reported comment.
...@@ -48,11 +44,7 @@ $messageproviders = array ( ...@@ -48,11 +44,7 @@ $messageproviders = array (
// Notify when receiving a forwarded question. // Notify when receiving a forwarded question.
'forwardedquestion' => array ( 'forwardedquestion' => array (
'capability' => 'mod/pdfannotator:getforwardedquestions', 'capability' => 'mod/pdfannotator:getforwardedquestions', // Teacher capability.
'defaults' => array(
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
)
) )
); );
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment