don't upgrade twice

This commit is contained in:
Shish 2012-03-11 01:41:33 +00:00
parent 7c3554a8eb
commit f9a9290318

View file

@ -61,7 +61,7 @@ class PrivMsg extends Extension {
CONSTRAINT foreign_private_message_from_id FOREIGN KEY (from_id) REFERENCES users(id) ON DELETE CASCADE, CONSTRAINT foreign_private_message_from_id FOREIGN KEY (from_id) REFERENCES users(id) ON DELETE CASCADE,
CONSTRAINT foreign_private_message_to_id FOREIGN KEY (to_id) REFERENCES users(id) ON DELETE CASCADE CONSTRAINT foreign_private_message_to_id FOREIGN KEY (to_id) REFERENCES users(id) ON DELETE CASCADE
"); ");
$config->set_int("pm_version", 1); $config->set_int("pm_version", 2);
log_info("pm", "extension installed"); log_info("pm", "extension installed");
} }