Add site registration policy to site record. This is not yet used or stored, but potentially can be exchanged through directory mirrors to automatically create "open site" lists.

This commit is contained in:
friendica
2013-06-20 18:36:02 -07:00
parent dd9d32bcb3
commit 61601dc23d
4 changed files with 22 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1045 );
define( 'UPDATE_VERSION' , 1046 );
/**
*
@@ -556,3 +556,12 @@ ADD INDEX ( `imgurl` ) ");
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
function update_r1045() {
$r = q("ALTER TABLE `site` ADD `site_register` INT NOT NULL DEFAULT '0',
ADD INDEX ( `site_register` ) ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}