Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-qtype_stack
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-qtype_stack
Commits
da59fac2
Commit
da59fac2
authored
6 years ago
by
Matti Harjula
Browse files
Options
Downloads
Patches
Plain Diff
Make it possible to setupr PHP-unit on a machine without Maxima using MaximaPool.
parent
e9b1f478
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
db/install.php
+2
-1
2 additions, 1 deletion
db/install.php
with
2 additions
and
1 deletion
db/install.php
+
2
−
1
View file @
da59fac2
...
...
@@ -54,7 +54,8 @@ function xmldb_qtype_stack_install() {
// If this is a PHP unit test site, automatically create maxima_opt_auto.
// Should probably consider doing this for real in the future.
if
(
$platform
!=
'win'
&&
(
PHPUNIT_TEST
||
defined
(
'BEHAT_UTIL'
)))
{
if
(
$platform
!=
'win'
&&
(
PHPUNIT_TEST
||
defined
(
'BEHAT_UTIL'
))
&&
QTYPE_STACK_TEST_CONFIG_PLATFORM
!==
'server'
)
{
// Set to the same defaults as in settings.php - however, that has not been done
// yet in the Moodle install code flow, so we have to duplicate here.
set_config
(
'maximaversion'
,
'default'
,
'qtype_stack'
);
...
...
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