MDL-64783 analytics: Activities due insight forwards to calendar
The patch includes changes applied after the peer review.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
93663fa1a8
commit
982fef46f4
@@ -71,7 +71,7 @@ class user implements \core_analytics\analysable {
|
||||
* through this constructor will not be cached.
|
||||
*
|
||||
* @param int|\stdClass $user User id
|
||||
* @param ?\context $context
|
||||
* @param \context|null $context
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($user, ?\context $context = null) {
|
||||
@@ -94,7 +94,7 @@ class user implements \core_analytics\analysable {
|
||||
* Lazy load of analysable data.
|
||||
*
|
||||
* @param int|\stdClass $user User object or user id
|
||||
* @param ?\context $context
|
||||
* @param \context|null $context
|
||||
* @return \core_analytics\user
|
||||
*/
|
||||
public static function instance($user, ?\context $context = null) {
|
||||
|
||||
Reference in New Issue
Block a user