MDL-64320 analytics: Validate discrete indicators separately

This commit is contained in:
David Monllao
2019-01-30 12:11:40 +01:00
committed by David Monllaó
parent be521ca625
commit a8159737cf
7 changed files with 234 additions and 17 deletions
+1 -3
View File
@@ -41,9 +41,7 @@ abstract class binary extends discrete {
* @return array
*/
public static final function get_classes() {
// It does not really matter, all \core_analytics\local\indicator\discrete get_classes calls have been overwriten as we
// only need 1 column here.
return array(0);
return [-1, 1];
}
/**