瀏覽代碼

fix typo and set to default value to false

Tim Fry 1 年之前
父節點
當前提交
d47a5e4007
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/classes/maintenance.php

+ 2 - 2
resources/classes/maintenance.php

@@ -237,7 +237,7 @@ class maintenance {
 			//the trait has this value defined
 			$category = 'maintenance';
 			//the trait has this value defined
-			$subcategory = $application . '_fileystem_retention_days';
+			$subcategory = $application . '_filesystem_retention_days';
 			//check if the default setting already exists in global settings
 			$uuid = self::default_setting_uuid($database, $category, $subcategory);
 			if (empty($uuid)) {
@@ -246,7 +246,7 @@ class maintenance {
 				$array['default_settings'][$index]['default_setting_uuid'] = uuid();
 				$array['default_settings'][$index]['default_setting_name'] = 'numeric';
 				$array['default_settings'][$index]['default_setting_value'] = '30';
-				$array['default_settings'][$index]['default_setting_enabled'] = 'true';
+				$array['default_settings'][$index]['default_setting_enabled'] = 'false';
 				$array['default_settings'][$index]['default_setting_description'] = $description;
 				$index++;
 			}