implement republish permission for use in sourced channels

This commit is contained in:
friendica
2013-09-30 21:49:26 -07:00
parent 2353e6d23f
commit dffce63662
8 changed files with 68 additions and 38 deletions

View File

@@ -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;
}