Bump 3.0.4 version
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -98,7 +98,11 @@ class service_edit_form extends moodleform {
 | 
				
			|||||||
        $mform->setAdvanced('other');
 | 
					        $mform->setAdvanced('other');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* Content type */
 | 
					        /* Content type */
 | 
				
			||||||
        $contenttype = [ 'json' => 'application/json', 'x-www-form-urlencoded' => 'application/x-www-form-urlencoded' ];
 | 
					        $contenttype = [
 | 
				
			||||||
 | 
					            'json'                  => 'application/json',
 | 
				
			||||||
 | 
					            'x-www-form-urlencoded' => 'application/x-www-form-urlencoded',
 | 
				
			||||||
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $mform->addElement('select', 'type', 'Content type', $contenttype);
 | 
					        $mform->addElement('select', 'type', 'Content type', $contenttype);
 | 
				
			||||||
        $mform->setAdvanced('type');
 | 
					        $mform->setAdvanced('type');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -113,7 +117,7 @@ class service_edit_form extends moodleform {
 | 
				
			|||||||
        foreach ($eventlist as $event) {
 | 
					        foreach ($eventlist as $event) {
 | 
				
			||||||
            /* Escaping event names */
 | 
					            /* Escaping event names */
 | 
				
			||||||
            $eventname = base64_encode($event['eventname']);
 | 
					            $eventname = base64_encode($event['eventname']);
 | 
				
			||||||
            $events[ $event[ 'component' ] ][] =& $mform->createElement('checkbox', $eventname, $event[ 'eventname' ], $event[ 'eventname' ]);
 | 
					            $events[$event['component']][] =& $mform->createElement('checkbox', $eventname, $event['eventname']);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* Displays groups of items */
 | 
					        /* Displays groups of items */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,6 @@ defined('MOODLE_INTERNAL') || die();
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
$plugin->component = 'local_webhooks';
 | 
					$plugin->component = 'local_webhooks';
 | 
				
			||||||
$plugin->maturity = MATURITY_STABLE;
 | 
					$plugin->maturity = MATURITY_STABLE;
 | 
				
			||||||
$plugin->release = '3.0.3 (Build: 2019021700)';
 | 
					$plugin->release = '3.0.4 (Build: 2020041400)';
 | 
				
			||||||
$plugin->requires = 2016112900;
 | 
					$plugin->requires = 2019111800.00;
 | 
				
			||||||
$plugin->version = 2018061920;
 | 
					$plugin->version = 2020041400;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user