comment this out, just to make sure it's not used

git-svn-id: file:///home/shish/svn/shimmie2/trunk@504 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-09-29 22:53:42 +00:00
parent 7a936d41cf
commit 6f69f52614

View file

@ -71,6 +71,7 @@ class Upgrade extends Extension {
$config->set_bool("in_upgrade", false);
}
/*
if($config->get_int("db_version") == -1) {
$database->Execute("ALTER TABLE users ADD COLUMN parent INTEGER");
$database->Execute("ALTER TABLE users ADD COLUMN is_template ENUM('Y','N') DEFAULT 'N'");
@ -86,6 +87,7 @@ class Upgrade extends Extension {
$database->Execute("UPDATE users SET parent=? WHERE is_admin='Y'", array($admin_id));
$config->set_int("db_version", 7);
}
*/
}
}
add_event_listener(new Upgrade(), 5);