remove ConfigSaveEvent handlers

git-svn-id: file:///home/shish/svn/shimmie2/trunk@265 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-07-12 08:14:37 +00:00
parent 40eb4699b8
commit 5a4d6f7277
19 changed files with 27 additions and 98 deletions

View File

@ -74,10 +74,6 @@ class UserPage extends Extension {
$sb->add_longtext_option("login_tac", "<br>Terms &amp; Conditions:<br>");
$event->panel->add_block($sb);
}
if(is_a($event, 'ConfigSaveEvent')) {
$event->config->set_bool_from_post("login_signup_enabled");
$event->config->set_string_from_post("login_tac");
}
if(is_a($event, 'UserBlockBuildingEvent')) {
$event->add_link("User Config", make_link("user"));