Comments
This commit is contained in:
parent
565e616909
commit
78358b1502
@ -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();
|
||||||
|
Reference in New Issue
Block a user