Browse files

MDL-56275 blog: do not display the 'choose a link' button

When registereing an external blog the choose a link button is
misleading, we don't have any repos which restrict to RSS feeds, so the
majority of results you get from the repo picker will be wrong.
  • Loading branch information...
danpoltawski committed Oct 6, 2016
1 parent 6a69cda commit 9def79f79a7da8197ffe96f9184545c5376870b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 blog/external_blog_edit_form.php
@@ -36,7 +36,7 @@ public function definition() {
$mform =& $this->_form;
$mform->addElement('url', 'url', get_string('url', 'blog'), array('size' => 50));
$mform->addElement('url', 'url', get_string('url', 'blog'), array('size' => 50), array('usefilepicker' => false));
$mform->setType('url', PARAM_URL);
$mform->addRule('url', get_string('emptyurl', 'blog'), 'required', null, 'client');
$mform->addHelpButton('url', 'url', 'blog');

0 comments on commit 9def79f

Please sign in to comment.