aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-30 21:49:26 -0700
committerfriendica <info@friendica.com>2013-09-30 21:49:26 -0700
commitdffce63662c54db7ebb61786d39db6a900d1381f (patch)
tree88004c4a8362f4ee77bf670207076f76d876eb84 /install/update.php
parent2353e6d23f54902d3b2b9e3fd46f1baa6e803450 (diff)
downloadvolse-hubzilla-dffce63662c54db7ebb61786d39db6a900d1381f.tar.gz
volse-hubzilla-dffce63662c54db7ebb61786d39db6a900d1381f.tar.bz2
volse-hubzilla-dffce63662c54db7ebb61786d39db6a900d1381f.zip
implement republish permission for use in sourced channels
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 5c46538cf..8a583a947 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1075 );
+define( 'UPDATE_VERSION' , 1076 );
/**
*
@@ -851,3 +851,11 @@ ADD INDEX ( `ud_last` ) ");
}
+function update_r1075() {
+ $r = q("ALTER TABLE `channel` ADD `channel_a_republish` INT UNSIGNED NOT NULL DEFAULT '128',
+ADD INDEX ( `channel_a_republish` )");
+
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}