diff options
author | Thomas Willingham <founder@kakste.com> | 2013-12-22 20:47:57 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-12-22 20:47:57 +0000 |
commit | c4b4f277963af2a3ef782dc14d369cbfe3b46a2e (patch) | |
tree | c0addd520b77dedbe46e7746da19c26e16ae5f5a /install | |
parent | 3502a2e86b1d4924fea3b0eac6c3ce499eea2f16 (diff) | |
download | volse-hubzilla-c4b4f277963af2a3ef782dc14d369cbfe3b46a2e.tar.gz volse-hubzilla-c4b4f277963af2a3ef782dc14d369cbfe3b46a2e.tar.bz2 volse-hubzilla-c4b4f277963af2a3ef782dc14d369cbfe3b46a2e.zip |
Some sys chan stuff
Diffstat (limited to 'install')
-rw-r--r-- | install/update.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index f498ec042..05bddba42 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1084 ); +define( 'UPDATE_VERSION' , 1085 ); /** * @@ -919,3 +919,19 @@ ADD INDEX ( `aid` )"); return UPDATE_FAILED; } +function update_r1084() { + + + $r = q("CREATE TABLE if not exists `sys_perms` ( + `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , + `cat` CHAR( 255 ) NOT NULL , + `k` CHAR( 255 ) NOT NULL , + `v` MEDIUMTEXT NOT NULL, + `public_perm` TINYINT( 1 ) UNSIGNED NOT NULL +) ENGINE = MYISAM DEFAULT CHARSET = utf8"); + + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; + +} |