this is the reason Diaspora forum tagging was broken
This commit is contained in:
parent
903f7e73fb
commit
2db7d88e28
2
boot.php
2
boot.php
@ -48,7 +48,7 @@ define ( 'RED_PLATFORM', 'redmatrix' );
|
|||||||
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
|
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
|
||||||
define ( 'ZOT_REVISION', 1 );
|
define ( 'ZOT_REVISION', 1 );
|
||||||
|
|
||||||
define ( 'DB_UPDATE_VERSION', 1129 );
|
define ( 'DB_UPDATE_VERSION', 1130 );
|
||||||
|
|
||||||
define ( 'EOL', '<br />' . "\r\n" );
|
define ( 'EOL', '<br />' . "\r\n" );
|
||||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||||
|
@ -291,8 +291,8 @@ function create_identity($arr) {
|
|||||||
// Create a verified hub location pointing to this site.
|
// Create a verified hub location pointing to this site.
|
||||||
|
|
||||||
$r = q("insert into hubloc ( hubloc_guid, hubloc_guid_sig, hubloc_hash, hubloc_addr, hubloc_flags,
|
$r = q("insert into hubloc ( hubloc_guid, hubloc_guid_sig, hubloc_hash, hubloc_addr, hubloc_flags,
|
||||||
hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey )
|
hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey, hubloc_network )
|
||||||
values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s' )",
|
values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
|
||||||
dbesc($guid),
|
dbesc($guid),
|
||||||
dbesc($sig),
|
dbesc($sig),
|
||||||
dbesc($hash),
|
dbesc($hash),
|
||||||
@ -302,7 +302,8 @@ function create_identity($arr) {
|
|||||||
dbesc(base64url_encode(rsa_sign(z_root(),$ret['channel']['channel_prvkey']))),
|
dbesc(base64url_encode(rsa_sign(z_root(),$ret['channel']['channel_prvkey']))),
|
||||||
dbesc(get_app()->get_hostname()),
|
dbesc(get_app()->get_hostname()),
|
||||||
dbesc(z_root() . '/post'),
|
dbesc(z_root() . '/post'),
|
||||||
dbesc(get_config('system','pubkey'))
|
dbesc(get_config('system','pubkey')),
|
||||||
|
dbesc('zot')
|
||||||
);
|
);
|
||||||
if(! $r)
|
if(! $r)
|
||||||
logger('create_identity: Unable to store hub location');
|
logger('create_identity: Unable to store hub location');
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'UPDATE_VERSION' , 1129 );
|
define( 'UPDATE_VERSION' , 1130 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -1457,3 +1457,10 @@ function update_r1128() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_r1129() {
|
||||||
|
$r = q("update hubloc set hubloc_network = 'zot' where hubloc_network = '');
|
||||||
|
if($r)
|
||||||
|
return UPDATE_SUCCESS;
|
||||||
|
return UPDATE_FAILED;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2014-10-13.827
|
2014-10-14.828
|
||||||
|
Reference in New Issue
Block a user