1
0
This commit is contained in:
Romain LE DISEZ 2010-11-28 19:22:01 +08:00 committed by kandsten
parent 565e616909
commit 78358b1502

View File

@ -19,6 +19,9 @@
*/ */
class user_chroot_installer { class user_chroot_installer {
/**
* Create the table user_chroot when installing the module.
*/
static function install() { static function install() {
$db = Database::instance(); $db = Database::instance();
$db->query("CREATE TABLE IF NOT EXISTS {user_chroots} ( $db->query("CREATE TABLE IF NOT EXISTS {user_chroots} (
@ -31,7 +34,7 @@ class user_chroot_installer {
} }
/** /**
* Drops the table of user chroot when the module is uninstalled. * Drops the table user_chroot when uninstalling the module.
*/ */
static function uninstall() { static function uninstall() {
$db = Database::instance(); $db = Database::instance();