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 ff5b842..9f3ad6a 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');
     }