]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16341 - flickr plugin should allow only one instance to be configured
authormjollnir_ <mjollnir_>
Tue, 9 Sep 2008 13:32:48 +0000 (13:32 +0000)
committermjollnir_ <mjollnir_>
Tue, 9 Sep 2008 13:32:48 +0000 (13:32 +0000)
portfolio/type/flickr/lib.php

index ff5b8420fbc4ebd0da016fc84af31da2d8986824..9f3ad6a6e3e7e035693fa1777db0c6f99bb58713 100755 (executable)
@@ -23,6 +23,10 @@ class portfolio_plugin_flickr extends portfolio_plugin_push_base {
 
     }
 
+    public static function allows_multiple() {
+        return false;
+    }
+
     public function get_continue_url() {
         return 'http://www.flickr.com/files#0:f:' . $this->get_export_config('folder');
     }