mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-61667 analytics: Fix coding style issues in the existing code
These coding style issues were spotted while working on the issue. No real changes here, just the coding style fixes attached to the patchset for convenience.
This commit is contained in:
parent
606c3be0f6
commit
d887b0c7f7
@ -112,7 +112,9 @@ class manager {
|
||||
$params['trained'] = 1;
|
||||
}
|
||||
if ($predictioncontext) {
|
||||
$conditions[] = "EXISTS (SELECT 'x' FROM {analytics_predictions} ap WHERE ap.modelid = am.id AND ap.contextid = :contextid)";
|
||||
$conditions[] = "EXISTS (SELECT 'x'
|
||||
FROM {analytics_predictions} ap
|
||||
WHERE ap.modelid = am.id AND ap.contextid = :contextid)";
|
||||
$params['contextid'] = $predictioncontext->id;
|
||||
}
|
||||
$sql .= ' WHERE ' . implode(' AND ', $conditions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user