Commit 211086a0 authored by Penny Leach's avatar Penny Leach
Browse files

leapovermnet - added a new config defaults line for loglevels


Signed-off-by: default avatarPenny Leach <penny@mjollnir.org>
parent 6339949c
...@@ -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);
......
...@@ -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;
?> ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment