Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
6276af52
Commit
6276af52
authored
6 years ago
by
Tobias Reischmann
Browse files
Options
Downloads
Patches
Plain Diff
Coding style
parent
13af1f73
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
db/upgrade.php
+9
-9
9 additions, 9 deletions
db/upgrade.php
trigger/categories/lib.php
+1
-1
1 addition, 1 deletion
trigger/categories/lib.php
with
10 additions
and
10 deletions
db/upgrade.php
+
9
−
9
View file @
6276af52
...
...
@@ -113,7 +113,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
$dbman
->
add_field
(
$table
,
$field
);
}
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2017081101
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -128,7 +128,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
$dbman
->
add_field
(
$table
,
$field
);
}
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018021300
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -145,7 +145,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
$DB
->
execute
(
'update {tool_lifecycle_settings} set type = \'step\''
);
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018021301
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -203,7 +203,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
// Launch add key workflowid_fk.
$dbman
->
add_key
(
$table
,
$key
);
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018021302
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -218,7 +218,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
$dbman
->
add_field
(
$table
,
$field
);
}
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018022001
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -231,7 +231,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
// Launch rename field key.
$dbman
->
rename_field
(
$table
,
$field
,
'keyname'
);
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018022002
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -245,7 +245,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
\tool_lifecycle\manager\workflow_manager
::
insert_or_update
(
$workflow
);
}
}
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018022005
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -264,7 +264,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
// Launch add key courseid_fk.
$dbman
->
add_key
(
$table
,
$key
);
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018022101
,
'tool'
,
'lifecycle'
);
}
...
...
@@ -279,7 +279,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
$dbman
->
add_field
(
$table
,
$field
);
}
//
l
ifecycle savepoint reached.
//
L
ifecycle savepoint reached.
upgrade_plugin_savepoint
(
true
,
2018022102
,
'tool'
,
'lifecycle'
);
}
...
...
This diff is collapsed.
Click to expand it.
trigger/categories/lib.php
+
1
−
1
View file @
6276af52
...
...
@@ -56,7 +56,7 @@ class categories extends base_automatic {
$courseincategory
=
$this
->
course_is_within_categories
(
$course
,
explode
(
','
,
$categories
));
/*
*
/*
* I want to trigger the course if ...
* - the course is within the categories and I don't want to exclude those courses.
* $exclude = false
...
...
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