Skip to content

Commit 4a57d5c

Browse files
committed
Minor - flint fixes
1 parent 8e69387 commit 4a57d5c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

main/inc/lib/api.lib.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5272,7 +5272,6 @@ function copyr($source, $dest, $exclude = [], $copied_files = [])
52725272
}
52735273

52745274
/**
5275-
*
52765275
* @todo: Using DIRECTORY_SEPARATOR is not recommended, this is an obsolete approach.
52775276
* Documentation header to be added here.
52785277
*
@@ -5281,7 +5280,7 @@ function copyr($source, $dest, $exclude = [], $copied_files = [])
52815280
* @param int $session_id
52825281
*
52835282
* @return mixed True if directory already exists, false if a file already exists at
5284-
* the destination and null if everything goes according to plan
5283+
* the destination and null if everything goes according to plan
52855284
*/
52865285
function copy_folder_course_session(
52875286
$pathname,

whoisonlinesession.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function getUsers(
7676
$urlCondition";
7777
$result = Database::query($sql);
7878
$result = Database::fetch_array($result);
79+
7980
return $result['count'];
8081
}
8182

@@ -98,6 +99,7 @@ function getUsers(
9899
while ($user_list = Database::fetch_array($result)) {
99100
$studentsOnline[$user_list['login_user_id']] = $user_list;
100101
}
102+
101103
return $studentsOnline;
102104
}
103105

@@ -131,6 +133,7 @@ function course_filter($courseId, $urlParams, $row)
131133
{
132134
$sessionId = api_get_session_id();
133135
$courseInfo = api_get_course_info_by_id($courseId);
136+
134137
return Display::url(
135138
$courseInfo['title'],
136139
$courseInfo['course_public_url'].'?id_session='.$sessionId,

0 commit comments

Comments
 (0)