diff options
author | friendica <info@friendica.com> | 2013-02-21 21:18:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-21 21:18:36 -0800 |
commit | 1abce176ff35a0ce5cf6c9b2a762afe279387db7 (patch) | |
tree | 23781797fa9e9536a867c0a286330c417d308ff7 /include/identity.php | |
parent | 1e464120ebccf8d4cb03db748f08ce19eb31a6f4 (diff) | |
download | volse-hubzilla-1abce176ff35a0ce5cf6c9b2a762afe279387db7.tar.gz volse-hubzilla-1abce176ff35a0ce5cf6c9b2a762afe279387db7.tar.bz2 volse-hubzilla-1abce176ff35a0ce5cf6c9b2a762afe279387db7.zip |
add groups and personal configs to export/import
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index 62092443e..9d798866f 100644 --- a/include/identity.php +++ b/include/identity.php @@ -275,6 +275,26 @@ function identity_basic_export($channel_id) { $ret['hubloc'] = $r; } + $r = q("select * from group where uid = %d ", + intval($channel_id) + ); + + if($r) + $ret['group'] = $r; + + $r = q("select * from group_member where uid = %d ", + intval($channel_id) + ); + if($r) + $ret['group_member'] = $r; + + $r = q("select * from pconfig where uid = %d", + intval($channel_id) + ); + if($r) + $ret['config'] = $r; + + $r = q("select type, data from photo where scale = 4 and profile = 1 and uid = %d limit 1", intval($channel_id) ); |