diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-06-19 15:42:06 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-06-19 15:42:06 +0200 |
commit | b650183cd4b82325dcaf74a42386882ef1802750 (patch) | |
tree | e0d8809cc9a3f6feef124c79de66bf20d8007306 /update.php | |
parent | 10eb79a629278e11a0ed56193adef9895ff73638 (diff) | |
download | volse-hubzilla-b650183cd4b82325dcaf74a42386882ef1802750.tar.gz volse-hubzilla-b650183cd4b82325dcaf74a42386882ef1802750.tar.bz2 volse-hubzilla-b650183cd4b82325dcaf74a42386882ef1802750.zip |
Save in db if addon define "$addon_plugin_admin" function. Add "plugin_admin" column to "addon" table
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php index e1bc73619..541a12ef5 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1063 ); +define( 'UPDATE_VERSION' , 1064 ); /** * @@ -517,4 +517,7 @@ function update_1061() { function update_1062() { q("ALTER TABLE `user` ADD `prvnets` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `page-flags` "); } +function update_1063() { + q("ALTER TABLE `addon` ADD `plugin_admin` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `timestamp` "); +} |