MDL-14428 fixed tag cron warning; merged from MOODLE_19_STABLE
This commit is contained in:
+3
-1
@@ -699,7 +699,9 @@ function tag_compute_correlations($min_correlation=2) {
|
||||
|
||||
global $CFG;
|
||||
|
||||
$all_tags = get_records_list('tag');
|
||||
if (!$all_tags = get_records_list('tag')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$tag_correlation_obj = new object();
|
||||
foreach($all_tags as $tag) {
|
||||
|
||||
Reference in New Issue
Block a user