From 429a6bcf0151f2f00e797783849f84823d3dcfbb Mon Sep 17 00:00:00 2001 From: Artem Andreev Date: Sat, 9 Apr 2011 14:23:10 +0400 Subject: [PATCH] Added function attforblock_supports, that returns the information if the module supports a feature. FEATURE_GROUPINGS and FEATURE_GROUPMEMBERSONLY are disabled because of AFAIK these features are not tested. FEATURE_MOD_INTRO and FEATURE_COMPLETION_TRACKS_VIEWS are disabled because of IMHO these features are unnecessary. --- lib.php | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 27ae0d6..b0fd3f9 100644 --- a/lib.php +++ b/lib.php @@ -1,7 +1,31 @@ -