diff options
author | friendica <info@friendica.com> | 2012-10-23 21:24:23 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-23 21:24:23 -0700 |
commit | 968b9ce1af797ad422e26eb35bd58fc4ebd8c4b3 (patch) | |
tree | d95c068957657b11ba08ea67052454b0cdf8b593 /include/identity.php | |
parent | 8e8482355baa55a5c9e3cb3553eecf5a733e2897 (diff) | |
download | volse-hubzilla-968b9ce1af797ad422e26eb35bd58fc4ebd8c4b3.tar.gz volse-hubzilla-968b9ce1af797ad422e26eb35bd58fc4ebd8c4b3.tar.bz2 volse-hubzilla-968b9ce1af797ad422e26eb35bd58fc4ebd8c4b3.zip |
more heavy lifting
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/identity.php b/include/identity.php index ac033edf4..559d4c424 100644 --- a/include/identity.php +++ b/include/identity.php @@ -110,12 +110,14 @@ function create_identity($arr) { $newuid = $ret['channel']['channel_id']; - $r = q("insert into xchan ( xchan_hash, xchan_guid, xchan_guid_sig, xchan_pubkey, xchan_photo, xchan_addr, xchan_profile, xchan_name, xchan_network, xchan_photo_date, xchan_name_date ) values ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", + $r = q("insert into xchan ( xchan_hash, xchan_guid, xchan_guid_sig, xchan_pubkey, xchan_photo_l, xchan_photo_m, xchan_photo_s, xchan_addr, xchan_profile, xchan_name, xchan_network, xchan_photo_date, xchan_name_date ) values ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", dbesc($hash), dbesc($ret['channel']['channel_guid']), dbesc($sig), dbesc($key['pubkey']), - dbesc($a->get_baseurl() . "/photo/profile/{$newuid}"), + dbesc($a->get_baseurl() . "/photo/profile/l/{$newuid}"), + dbesc($a->get_baseurl() . "/photo/profile/m/{$newuid}"), + dbesc($a->get_baseurl() . "/photo/profile/s/{$newuid}"), dbesc($ret['channel']['channel_address'] . '@' . $a->get_hostname()), dbesc(z_root() . '/profile/' . $ret['channel']['channel_address']), dbesc($ret['channel']['channel_name']), |