Commit 78cb4c22 authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix parse error in site options caused by a bad merge by me of Richard's changes.

parent 0df47acb
...@@ -165,7 +165,6 @@ function siteoptions_submit(Pieform $form, $values) { ...@@ -165,7 +165,6 @@ function siteoptions_submit(Pieform $form, $values) {
$fields = array('sitename','lang','theme','pathtofile', 'pathtoclam', $fields = array('sitename','lang','theme','pathtofile', 'pathtoclam',
'defaultaccountlifetime', 'defaultaccountinactiveexpire', 'defaultaccountinactivewarn', 'defaultaccountlifetime', 'defaultaccountinactiveexpire', 'defaultaccountinactivewarn',
'allowpublicviews', 'searchplugin'); 'allowpublicviews', 'searchplugin');
'allowpublicviews','artefactviewinactivitytime', 'searchplugin');
$oldlanguage = get_config('lang'); $oldlanguage = get_config('lang');
foreach ($fields as $field) { foreach ($fields as $field) {
if (!set_config($field, $values[$field])) { if (!set_config($field, $values[$field])) {
Supports Markdown
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