Loading config/autoload/local.php.dist +3 −0 Changes for config/autoload/local.php.dist: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -193,8 +193,11 @@ return array( /****/ ] ], /*** Notifications ***/ 'notifications' => [ // L'utilisateur peut configurer la fréquence des notifications 'override' => false, // Envoi automatique 'fixed' => ['Mer8', 'Lun20'] // ex: IMPOSE une notification chaque mercredis à 8 heure et Lundis à 20 heures Loading doc/notifications.md +3 −0 Changes for doc/notifications.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,6 +15,9 @@ L'option **fixed** permet de configurer des envois imposés sous la forme d'un t return [ 'oscar' => [ /*** Notifications ***/ // L'utilisateur peut configurer la fréquence des notifications 'override' => false, 'notifications' => [ // Envoi automatique 'fixed' => ['Mer8'] // ex: IMPOSE une notification chaque mercredis à 8 heures Loading module/Oscar/src/Oscar/Service/UserParametersService.php +1 −2 Changes for module/Oscar/src/Oscar/Service/UserParametersService.php: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -56,8 +56,7 @@ class UserParametersService implements ServiceLocatorAwareInterface, EntityManag public function performChangeFrequency( $userInput ) { $changeable = $this->getConfiguration('oscar.notifications.override', false); if( !$changeable ){ if( !$this->getConfiguration('oscar.notifications.override', false) ){ throw new OscarException(_('Cette option ne peut pas être modifiée')); } Loading Loading
config/autoload/local.php.dist +3 −0 Changes for config/autoload/local.php.dist: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -193,8 +193,11 @@ return array( /****/ ] ], /*** Notifications ***/ 'notifications' => [ // L'utilisateur peut configurer la fréquence des notifications 'override' => false, // Envoi automatique 'fixed' => ['Mer8', 'Lun20'] // ex: IMPOSE une notification chaque mercredis à 8 heure et Lundis à 20 heures Loading
doc/notifications.md +3 −0 Changes for doc/notifications.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,6 +15,9 @@ L'option **fixed** permet de configurer des envois imposés sous la forme d'un t return [ 'oscar' => [ /*** Notifications ***/ // L'utilisateur peut configurer la fréquence des notifications 'override' => false, 'notifications' => [ // Envoi automatique 'fixed' => ['Mer8'] // ex: IMPOSE une notification chaque mercredis à 8 heures Loading
module/Oscar/src/Oscar/Service/UserParametersService.php +1 −2 Changes for module/Oscar/src/Oscar/Service/UserParametersService.php: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -56,8 +56,7 @@ class UserParametersService implements ServiceLocatorAwareInterface, EntityManag public function performChangeFrequency( $userInput ) { $changeable = $this->getConfiguration('oscar.notifications.override', false); if( !$changeable ){ if( !$this->getConfiguration('oscar.notifications.override', false) ){ throw new OscarException(_('Cette option ne peut pas être modifiée')); } Loading