Skip to content

Commit 33754fe

Browse files
committed
Minor - format code, remove debug
1 parent 02b2a74 commit 33754fe

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

app/Resources/public/css/base.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10529,7 +10529,7 @@ ul.dropdown-menu.inner > li > a {
1052910529
#registration input.register-profile[value='5']:after,
1053010530
#registration input.register-profile[value='1']:after
1053110531
{
10532-
top:-5px;
10532+
top: -5px;
1053310533
left: -2px;
1053410534
}
1053510535

@@ -10542,4 +10542,3 @@ ul.dropdown-menu.inner > li > a {
1054210542
.form-inline .bootstrap-select.form-control:not([class*="col-"]) {
1054310543
width: 100%;
1054410544
}
10545-

main/inc/lib/javascript/record_audio/record_audio.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ window.RecordAudio = (function () {
185185
if (!recordRTC) {
186186
return;
187187
}
188-
189-
console.log('stop');
190188
stopTimer();
191189
recordRTC.stopRecording(function (audioURL) {
192190
btnStart.prop('disabled', false).removeClass('hidden');
@@ -281,4 +279,4 @@ window.RecordAudio = (function () {
281279
useWami(wamiInfo, fileName);
282280
}
283281
}
284-
})();
282+
})();

main/lp/learnpath.class.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,6 @@ public static function is_lp_visible_for_student(
23432343
$now = time();
23442344
if (Database::num_rows($rs) > 0) {
23452345
$row = Database::fetch_array($rs, 'ASSOC');
2346-
23472346
if (!empty($row['category_id'])) {
23482347
$category = self::getCategory($row['category_id']);
23492348
if (self::categoryIsVisibleForStudent($category, api_get_user_entity($student_id)) === false) {
@@ -4416,11 +4415,6 @@ public static function toggle_visibility($lp_id, $set_visibility = 1)
44164415
* @param int $id
44174416
* @param int $visibility
44184417
*
4419-
* @throws \Doctrine\ORM\NonUniqueResultException
4420-
* @throws \Doctrine\ORM\ORMException
4421-
* @throws \Doctrine\ORM\OptimisticLockException
4422-
* @throws \Doctrine\ORM\TransactionRequiredException
4423-
*
44244418
* @return bool
44254419
*/
44264420
public static function toggleCategoryVisibility($id, $visibility = 1)

main/template/default/layout/notification.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
});
145145
146146
if (add == true) {
147-
console.log('adding new element');
148147
notifications.push(value);
149148
count++;
150149
}

0 commit comments

Comments
 (0)