From: mjollnir_ Date: Fri, 25 Jul 2008 08:22:14 +0000 (+0000) Subject: MDL-15760: boxnet portfolio plugin should only be allowed one instance X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f68e760c1bf0606ad5f61427af7d245830a5b51;p=moodle.git MDL-15760: boxnet portfolio plugin should only be allowed one instance --- diff --git a/portfolio/type/boxnet/lib.php b/portfolio/type/boxnet/lib.php index c8d8ff1d37..e8c2a48db5 100644 --- a/portfolio/type/boxnet/lib.php +++ b/portfolio/type/boxnet/lib.php @@ -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; + } }