summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-14 00:56:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-14 00:56:07 +0000
commit8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f (patch)
tree49fc67aaf19bfbc749c54d22522f31cfea8fabb5 /lib/class/update.class.php
parent704e66d0b489a7d3b0d4dcedc79515e5300732ff (diff)
downloadampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.tar.gz
ampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.tar.bz2
ampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.zip
Tweaked how features / bandwidth level is checked, not happy with it.
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index d51510b1..d92a1532 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -1840,9 +1840,13 @@ class Update {
$db_results = Dba::write($sql);
// Now add in the min_object_count preference and the random_method
- $sql = "INSERT INTO `preferences` (`name`,`value`,`description`,`level`,`type`,`catagory`) " .
- "VALUES('bandwidth','1','Bandwidth','100','integer','interface')";
+ $sql = "INSERT INTO `preference` (`name`,`value`,`description`,`level`,`type`,`catagory`) " .
+ "VALUES ('bandwidth','50','Bandwidth','5','integer','interface')";
$db_results = Dba::write($sql);
+
+ $sql = "INSERT INTO `preference` (`name`,`value`,`descriptoin`,`level`,`type`,`catagory`) " .
+ "VALUES ('features','50','Features','5','integer','interface')";
+ $db_results = Dba::write($sql);
/* Fix every users preferences */
$sql = "SELECT `id` FROM `user`";