From 8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 14 Feb 2010 00:56:07 +0000 Subject: Tweaked how features / bandwidth level is checked, not happy with it. --- lib/class/update.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/class/update.class.php') 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`"; -- cgit