aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-20 19:38:34 -0800
committerFriendika <info@friendika.com>2010-12-20 19:38:34 -0800
commitddec422de6707809aceb541e1191073b43aec18a (patch)
treeda79ea09482cf8984c7d9e02076dd2e4f0e8e65e /update.php
parent1a9f8eacc4bc2b7a67894018b63fc7b0864d760a (diff)
downloadvolse-hubzilla-ddec422de6707809aceb541e1191073b43aec18a.tar.gz
volse-hubzilla-ddec422de6707809aceb541e1191073b43aec18a.tar.bz2
volse-hubzilla-ddec422de6707809aceb541e1191073b43aec18a.zip
begin plugin api
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/update.php b/update.php
index 5b4d99603..81c5f0aea 100644
--- a/update.php
+++ b/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 ");
+}
+
+