Permalink
Browse files

Make sure guestloginbutton is set to 1 as a default

  • Loading branch information...
moodler
moodler committed Nov 20, 2002
1 parent 3790f3a commit 277d2d9f3e7ab6d437d636f0d6db66a46248324b
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/db/mysql.php
View
@@ -212,6 +212,10 @@ function main_upgrade($oldversion=0) {
}
}
+ if ($oldversion < 2002112000) {
+ set_config("guestloginbutton", 1);
+ }
+
return true;
}

0 comments on commit 277d2d9

Please sign in to comment.