Commit ecb3e6a1 authored by Florian Schaal's avatar Florian Schaal
Browse files

add AUTOUPDATE to simple_query and free_query

parent 522f2bda
...@@ -59,7 +59,7 @@ class installer_base { ...@@ -59,7 +59,7 @@ class installer_base {
} }
public function simple_query($query, $answers, $default, $name = '') { public function simple_query($query, $answers, $default, $name = '') {
global $autoinstall; global $autoinstall, $autoupdate;
$finished = false; $finished = false;
do { do {
if($name != '' && $autoinstall[$name] != '') { if($name != '' && $autoinstall[$name] != '') {
...@@ -104,7 +104,7 @@ class installer_base { ...@@ -104,7 +104,7 @@ class installer_base {
} }
public function free_query($query, $default, $name = '') { public function free_query($query, $default, $name = '') {
global $autoinstall; global $autoinstall, $autoupdate;
if($name != '' && $autoinstall[$name] != '') { if($name != '' && $autoinstall[$name] != '') {
if($autoinstall[$name] == 'default') { if($autoinstall[$name] == 'default') {
$input = $default; $input = $default;
......
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