MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins

This commit is contained in:
Petr Skoda
2010-04-04 19:58:03 +00:00
parent b9dd2a2e56
commit 846e4e177e
10 changed files with 37 additions and 40 deletions
+4
View File
@@ -0,0 +1,4 @@
<?php
$subplugins = array('datafield' => 'mod/data/field',
'datapreset' => 'mod/data/preset');