summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-08 23:00:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-08 23:00:59 +0000
commit2939f419e15589ab9fb73c6fd197e577238c6677 (patch)
tree14a001440c9ec771073099affaa9f333763711d2 /lib/class/update.class.php
parentf99f71d91835a929194c751565624d24b9799d4b (diff)
downloadampache-2939f419e15589ab9fb73c6fd197e577238c6677.tar.gz
ampache-2939f419e15589ab9fb73c6fd197e577238c6677.tar.bz2
ampache-2939f419e15589ab9fb73c6fd197e577238c6677.zip
fixed the update and the user class reading of the preferences
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index e04bd920..59bf8166 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -531,17 +531,6 @@ class Update {
"VALUES ('offset_limit','50','Offset Limit','5','integer','interface')";
$db_results = Dba::query($sql);
-
- // Fix the preferences for everyone
- $sql = "SELECT `id` FROM `user`";
- $db_results = Dba::query($sql);
-
- User::fix_preferences('-1');
-
- while ($r = Dba::fetch_assoc($db_results)) {
- User::fix_preferences($r['id']);
- }
-
self::set_version('db_version','340002');
return true;