Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-xapi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quentin Pimont
moodle-xapi
Commits
6006e4b6
Unverified
Commit
6006e4b6
authored
6 years ago
by
Ryan Smith
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: Fixes cron errors reported by @funclickearn_twitter. (#202)
parent
861c15ce
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
classes/task/emit_task.php
+1
-1
1 addition, 1 deletion
classes/task/emit_task.php
scripts/templateVersionFile
+1
-0
1 addition, 0 deletions
scripts/templateVersionFile
version.php
+4
-4
4 additions, 4 deletions
version.php
with
7 additions
and
5 deletions
.gitignore
+
1
−
0
View file @
6006e4b6
...
...
@@ -8,5 +8,6 @@
/node_modules
/notes.md
/vendor
/version.php
/xapi
/xapi.zip
\ No newline at end of file
This diff is collapsed.
Click to expand it.
classes/task/emit_task.php
+
1
−
1
View file @
6006e4b6
...
...
@@ -45,6 +45,6 @@ class emit_task extends \core\task\scheduled_task {
return
$transformedevent
[
'eventid'
];
},
$loadedevents
);
$DB
->
delete_records_list
(
'logstore_xapi_log'
,
'id'
,
$loadedeventids
);
mtrace
(
"Events ("
.
$loadedeventids
.
") have been successfully sent to LRS."
);
mtrace
(
"Events ("
.
implode
(
', '
,
$loadedeventids
)
.
") have been successfully sent to LRS."
);
}
}
This diff is collapsed.
Click to expand it.
scripts/templateVersionFile
+
1
−
0
View file @
6006e4b6
...
...
@@ -16,6 +16,7 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
\
$plugin
=
isset
(
\
$plugin
)
&&
is_object
(
\
$plugin
)
?
\
$plugin
:
new
\stdClass
();
\
$plugin
->
component
=
'logstore_xapi'
;
\
$plugin
->
version
=
$version
;
\
$plugin
->
release
=
'$release'
;
...
...
This diff is collapsed.
Click to expand it.
version.php
+
4
−
4
View file @
6006e4b6
...
...
@@ -16,9 +16,9 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$plugin
=
isset
(
$plugin
)
&&
is_object
(
$plugin
)
?
$plugin
:
new
S
tdClass
();
$plugin
=
isset
(
$plugin
)
&&
is_object
(
$plugin
)
?
$plugin
:
new
\s
tdClass
();
$plugin
->
component
=
'logstore_xapi'
;
$plugin
->
version
=
20180
611
00
;
$plugin
->
release
=
'
0.0.0-development
'
;
$plugin
->
version
=
20180
73
00
5
;
$plugin
->
release
=
''
;
$plugin
->
requires
=
2014111000
;
$plugin
->
maturity
=
MATURITY_
ALPHA
;
$plugin
->
maturity
=
MATURITY_
STABLE
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment