mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-70909 mod_h5pactivity: Whitespace fix
This commit is contained in:
parent
66131d9307
commit
2f1e3eada4
1 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ class manager {
|
|||
* @param stdClass|null $user user record (default $USER)
|
||||
* @return bool if the user can see the attempts link
|
||||
*/
|
||||
public function can_view_all_attempts (stdClass $user = null): bool {
|
||||
public function can_view_all_attempts(stdClass $user = null): bool {
|
||||
global $USER;
|
||||
if (!$this->instance->enabletracking) {
|
||||
return false;
|
||||
|
@ -202,7 +202,7 @@ class manager {
|
|||
* @param stdClass|null $user user record (default $USER)
|
||||
* @return bool if the user can see the own attempts link
|
||||
*/
|
||||
public function can_view_own_attempts (stdClass $user = null): bool {
|
||||
public function can_view_own_attempts(stdClass $user = null): bool {
|
||||
global $USER;
|
||||
if (!$this->instance->enabletracking) {
|
||||
return false;
|
||||
|
@ -334,7 +334,7 @@ class manager {
|
|||
* @param bool $allpotentialusers if true, the join will return all active users, not only the ones with attempts.
|
||||
* @return sql_join the active users attempts join
|
||||
*/
|
||||
public function get_active_users_join (bool $allpotentialusers = false): sql_join {
|
||||
public function get_active_users_join(bool $allpotentialusers = false): sql_join {
|
||||
|
||||
// Only valid users counts. By default, all users with submit capability are considered potential ones.
|
||||
$context = $this->get_context();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue