Skip to content

Commit

Permalink
MDL-34077 Repositories: Flickr and Picasa can have custom names
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Jun 28, 2012
1 parent a5f6ea2 commit 37817a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions repository/flickr/lib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ public static function type_config_form($mform, $classname = 'repository') {
$secret = ''; $secret = '';
} }


parent::type_config_form($mform);

$strrequired = get_string('required'); $strrequired = get_string('required');
$mform->addElement('text', 'api_key', get_string('apikey', 'repository_flickr'), array('value'=>$api_key,'size' => '40')); $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')); $mform->addElement('text', 'secret', get_string('secret', 'repository_flickr'), array('value'=>$secret,'size' => '40'));
Expand Down
3 changes: 0 additions & 3 deletions repository/picasa/lib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ public function logout() {
return parent::logout(); return parent::logout();
} }


public function get_name() {
return get_string('pluginname', 'repository_picasa');
}
public function supported_filetypes() { public function supported_filetypes() {
return array('web_image'); return array('web_image');
} }
Expand Down

0 comments on commit 37817a0

Please sign in to comment.