Allow forum/account delegation by anybody? On any site? But of course...

This commit is contained in:
friendica
2012-12-10 13:44:54 -08:00
parent c066793554
commit b0970850d4
4 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1000 );
define( 'UPDATE_VERSION' , 1001 );
/**
*
@@ -35,5 +35,11 @@ define( 'UPDATE_VERSION' , 1000 );
*
*/
// function update_r1000()
function update_r1000() {
$r = q("ALTER TABLE `channel` ADD `channel_a_delegate` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '0', ADD INDEX ( `channel_a_delegate` )");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}