begin plugin api
This commit is contained in:
parent
1a9f8eacc4
commit
ddec422de6
5 changed files with 80 additions and 5 deletions
10
update.php
10
update.php
|
@ -251,3 +251,13 @@ function update_1025() {
|
|||
q("ALTER TABLE `user` ADD `maxreq` int(11) NOT NULL DEFAULT '10' AFTER `pwdreset` ");
|
||||
}
|
||||
|
||||
function update_1026() {
|
||||
q("CREATE TABLE IF NOT EXISTS `hook` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||
`hook` CHAR( 255 ) NOT NULL ,
|
||||
`file` CHAR( 255 ) NOT NULL ,
|
||||
`function` CHAR( 255 ) NOT NULL
|
||||
) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue