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:
parent
7a936d41cf
commit
6f69f52614
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue