From 2f68e760c1bf0606ad5f61427af7d245830a5b51 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Fri, 25 Jul 2008 08:22:14 +0000 Subject: [PATCH] MDL-15760: boxnet portfolio plugin should only be allowed one instance --- portfolio/type/boxnet/lib.php | 4 ++++ 1 file changed, 4 insertions(+) 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; + } } -- 2.39.5