diff options
author | friendica <info@friendica.com> | 2013-12-22 13:44:00 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-22 13:44:00 -0800 |
commit | bb623fc464b777737114e953653dd4d90b7e2b3d (patch) | |
tree | 471bf284ef04d9ce8df9afdc710fa04358feda76 /install/update.php | |
parent | 7e7b5bfa4930493a8feae10b0550e29797956c70 (diff) | |
parent | 0d5c5187f9123e6ac9490408544e4816234adf17 (diff) | |
download | volse-hubzilla-bb623fc464b777737114e953653dd4d90b7e2b3d.tar.gz volse-hubzilla-bb623fc464b777737114e953653dd4d90b7e2b3d.tar.bz2 volse-hubzilla-bb623fc464b777737114e953653dd4d90b7e2b3d.zip |
Merge pull request #250 from beardy-unixer/master
Various bits
Diffstat (limited to 'install/update.php')
-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; + +} |