mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'wip-MDL-46545-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
64140f93ec
@ -701,7 +701,7 @@ function stats_cron_weekly() {
|
||||
|
||||
SELECT 'logins', timeend, courseid, userid, SUM(statsreads)
|
||||
FROM (
|
||||
SELECT $nextstartweek AS timeend, courseid, statsreads
|
||||
SELECT $nextstartweek AS timeend, courseid, userid, statsreads
|
||||
FROM {stats_user_daily} sd
|
||||
WHERE stattype = 'logins' AND $stattimesql
|
||||
) inline_view
|
||||
@ -843,7 +843,7 @@ function stats_cron_monthly() {
|
||||
|
||||
SELECT 'logins', timeend, courseid, userid, SUM(statsreads)
|
||||
FROM (
|
||||
SELECT $nextstartmonth AS timeend, courseid, statsreads
|
||||
SELECT $nextstartmonth AS timeend, courseid, userid, statsreads
|
||||
FROM {stats_user_daily} sd
|
||||
WHERE stattype = 'logins' AND $stattimesql
|
||||
) inline_view
|
||||
|
Loading…
x
Reference in New Issue
Block a user