Commit b646ccde authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove pathtofile from site options

parent 9ef80dfd
......@@ -82,13 +82,6 @@ $siteoptionform = pieform(array(
'options' => $searchpluginoptions,
'help' => true,
),
'pathtofile' => array(
'type' => 'text',
'title' => get_string('pathtofile', 'admin'),
'description' => get_string('pathtofiledescription', 'admin'),
'defaultvalue' => get_config('pathtofile'),
'help' => true,
),
'viruschecking' => array(
'type' => 'checkbox',
'title' => get_string('viruschecking', 'admin'),
......@@ -170,7 +163,7 @@ function siteoptions_fail(Pieform $form, $field) {
}
function siteoptions_submit(Pieform $form, $values) {
$fields = array('sitename','lang','theme','pathtofile', 'pathtoclam',
$fields = array('sitename','lang','theme', 'pathtoclam',
'defaultaccountlifetime', 'defaultaccountinactiveexpire', 'defaultaccountinactivewarn',
'allowpublicviews', 'allowpublicprofiles', 'searchplugin');
$oldlanguage = get_config('lang');
......
......@@ -118,8 +118,6 @@ $string['defaultaccountlifetimedescription'] = 'If set, user accounts will expir
$string['language'] = 'Language';
$string['pathtoclam'] = 'Path to clam';
$string['pathtoclamdescription'] = 'The filesystem path to clamscan or clamdscan';
$string['pathtofile'] = 'Path to file';
$string['pathtofiledescription'] = 'Filesystem path to the \'file\' program';
$string['searchplugin'] = 'Search plugin';
$string['searchplugindescription'] = 'Search plugin to use';
$string['sessionlifetime'] = 'Session lifetime';
......
......@@ -622,7 +622,6 @@ function core_install_firstcoredata_defaults() {
set_config('session_timeout', 1800);
set_config('sitename', 'Mahara');
set_config('pathtofile', '/usr/bin/file');
set_config('defaultaccountinactivewarn', 604800);
// install the applications
......
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