Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
211086a0
Commit
211086a0
authored
Mar 01, 2010
by
Penny Leach
Browse files
leapovermnet - added a new config defaults line for loglevels
Signed-off-by:
Penny Leach
<
penny@mjollnir.org
>
parent
6339949c
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/api/xmlrpc/lib.php
View file @
211086a0
...
@@ -332,6 +332,7 @@ function send_content_ready($token, $username, $format, $importdata, $fetchnow=f
...
@@ -332,6 +332,7 @@ function send_content_ready($token, $username, $format, $importdata, $fetchnow=f
// don't import persondata over mnet
// don't import persondata over mnet
// because it will just silently overwrite stuff
// because it will just silently overwrite stuff
// which is not really desirable.
// which is not really desirable.
$queue
->
loglevel
=
get_config
(
'leapovermnetloglevel'
);
$importdata
[
'skippersondata'
]
=
true
;
$importdata
[
'skippersondata'
]
=
true
;
}
}
$queue
->
data
=
serialize
(
$importdata
);
$queue
->
data
=
serialize
(
$importdata
);
...
...
htdocs/lib/config-defaults.php
View file @
211086a0
...
@@ -216,4 +216,7 @@ $cfg->showonlineuserssideblock = true;
...
@@ -216,4 +216,7 @@ $cfg->showonlineuserssideblock = true;
// EXAMPLE: Your cron job hits cron.php every 15 minutes. Then $cfg->maxrunage must be 900 or greater.
// EXAMPLE: Your cron job hits cron.php every 15 minutes. Then $cfg->maxrunage must be 900 or greater.
$cfg
->
maxrunage
=
300
;
$cfg
->
maxrunage
=
300
;
// if importing leap2a over an xmlrpc mnet connection, set this to something higher than 0 to log import information
// see the constants in import/leap/lib.php
$cfg
->
leapovermnetloglevel
=
0
;
?>
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment