From 545ca386282fbddad49114237e27b4a6221f7ea4 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 28 Jun 2012 12:11:18 +0800 Subject: [PATCH] MDL-34077 Repositories: Flickr and Picasa can have custom names --- repository/flickr/lib.php | 2 ++ repository/picasa/lib.php | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/repository/flickr/lib.php b/repository/flickr/lib.php index 688663899a382..b1c54639b4d3c 100644 --- a/repository/flickr/lib.php +++ b/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')); diff --git a/repository/picasa/lib.php b/repository/picasa/lib.php index 7dbdf7b71369a..642c7b3103750 100644 --- a/repository/picasa/lib.php +++ b/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'); }