Permalink
Browse files

MDL-34077 Repositories: Flickr and Picasa can have custom names

  • Loading branch information...
1 parent a5f6ea2 commit 37817a0cd88cebc47917d507e7017addd92ff500 @FMCorz FMCorz committed Jun 28, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −0 repository/flickr/lib.php
  2. +0 −3 repository/picasa/lib.php
@@ -277,6 +277,8 @@ public static function type_config_form($mform, $classname = '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 @@ public function logout() {
return parent::logout();
}
- public function get_name() {
- return get_string('pluginname', 'repository_picasa');
- }
public function supported_filetypes() {
return array('web_image');
}

0 comments on commit 37817a0

Please sign in to comment.