Make sure CTcache is automatically updated if old when opening hub client

Description

In Moodle content type cache update would fail when it was old and you opened the hub client. This was because getPlatformInfo() tries to call get_component_version from adminlib.php, which was not loaded at that time, causing an function undefined exception.

Environment

None

Acceptance Criteria

  • Make sure that content type cache is automatically updating when it is old and the hub client is opened.

Status

Assignee

Thomas Marstrander

Reporter

Thomas Marstrander

Labels

None

Funding

None

Code reviewer

Pål Jørgensen

Released

None

Time tracking

2h

Fix versions

Sprint

None

Priority

Medium
Configure