Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 37817a0cd88cebc47917d507e7017addd92ff500 1 parent a5f6ea2
@FMCorz FMCorz authored
Showing with 2 additions and 3 deletions.
  1. +2 −0  repository/flickr/lib.php
  2. +0 −3  repository/picasa/lib.php
View
2  repository/flickr/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'));
View
3  repository/picasa/lib.php
@@ -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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.