mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +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)
|
* @param stdClass|null $user user record (default $USER)
|
||||||
* @return bool if the user can see the attempts link
|
* @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;
|
global $USER;
|
||||||
if (!$this->instance->enabletracking) {
|
if (!$this->instance->enabletracking) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -202,7 +202,7 @@ class manager {
|
||||||
* @param stdClass|null $user user record (default $USER)
|
* @param stdClass|null $user user record (default $USER)
|
||||||
* @return bool if the user can see the own attempts link
|
* @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;
|
global $USER;
|
||||||
if (!$this->instance->enabletracking) {
|
if (!$this->instance->enabletracking) {
|
||||||
return false;
|
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.
|
* @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
|
* @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.
|
// Only valid users counts. By default, all users with submit capability are considered potential ones.
|
||||||
$context = $this->get_context();
|
$context = $this->get_context();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue