diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
commit | 34b0eaf23341c00dae5a809249445549f5abbc53 (patch) | |
tree | 781bf6742b1d07eb9f5615c47919bf3b251f1e6d /lib/install.php | |
parent | 08a4f848be123b9ac3a1b59e0ce0821e6df9fe26 (diff) | |
download | ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.gz ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.bz2 ampache-34b0eaf23341c00dae5a809249445549f5abbc53.zip |
Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the
clobber flag.
Diffstat (limited to 'lib/install.php')
-rw-r--r-- | lib/install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.php b/lib/install.php index 16ce2b18..bb26cd47 100644 --- a/lib/install.php +++ b/lib/install.php @@ -132,7 +132,7 @@ function install_insert_db($username,$password,$hostname,$database,$dbuser=false $data['database_hostname'] = $hostname; $data['database_name'] = $database; - Config::set_by_array($data,'1'); + Config::set_by_array($data, true); unset($data); @@ -247,7 +247,7 @@ function install_create_config($web_path,$username,$password,$hostname,$database $data['database_name'] = $database; $data['web_path'] = $web_path; - Config::set_by_array($data,'1'); + Config::set_by_array($data, true); /* Attempt to make DB connection */ $dbh = Dba::dbh(); |