MDL-34077 Repositories: Flickr and Picasa can have custom names
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user