mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-34077 Repositories: Flickr and Picasa can have custom names
This commit is contained in:
parent
6be7840ce6
commit
545ca38628
2 changed files with 2 additions and 3 deletions
|
@ -277,6 +277,8 @@ class repository_flickr extends repository {
|
|||
$secret = '';
|
||||
}
|
||||
|
||||
parent::type_config_form($mform);
|
||||
|
||||
$strrequired = get_string('required');
|
||||
$mform->addElement('text', 'api_key', get_string('apikey', 'repository_flickr'), array('value'=>$api_key,'size' => '40'));
|
||||
$mform->addElement('text', 'secret', get_string('secret', 'repository_flickr'), array('value'=>$secret,'size' => '40'));
|
||||
|
|
|
@ -98,9 +98,6 @@ class repository_picasa extends repository {
|
|||
return parent::logout();
|
||||
}
|
||||
|
||||
public function get_name() {
|
||||
return get_string('pluginname', 'repository_picasa');
|
||||
}
|
||||
public function supported_filetypes() {
|
||||
return array('web_image');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue