]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15760: boxnet portfolio plugin should only be allowed one instance
authormjollnir_ <mjollnir_>
Fri, 25 Jul 2008 08:22:14 +0000 (08:22 +0000)
committermjollnir_ <mjollnir_>
Fri, 25 Jul 2008 08:22:14 +0000 (08:22 +0000)
portfolio/type/boxnet/lib.php

index c8d8ff1d370b747ea4ad86e0aac2e3065c668a41..e8c2a48db50625c82b4a2fe42b3da08fcea48b0e 100644 (file)
@@ -199,4 +199,8 @@ class portfolio_plugin_boxnet extends portfolio_plugin_base {
         }
     //@TODO see if we can verify the api key without actually getting an authentication token
     }
+
+    public static function allows_multiple() {
+        return false;
+    }
 }