diff options
author | Mario <mario@mariovavti.com> | 2024-01-07 21:27:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-07 21:27:12 +0000 |
commit | 4aa29db7aac6c389a1908a53bce2ec36d7f94ee1 (patch) | |
tree | 6bdb1480767e3443e724ca925c9c82feee1809c2 | |
parent | f5b8b18c8e06084a7da1fa288673989264e15ed3 (diff) | |
download | volse-hubzilla-4aa29db7aac6c389a1908a53bce2ec36d7f94ee1.tar.gz volse-hubzilla-4aa29db7aac6c389a1908a53bce2ec36d7f94ee1.tar.bz2 volse-hubzilla-4aa29db7aac6c389a1908a53bce2ec36d7f94ee1.zip |
reflect new fields in low level functions
-rw-r--r-- | include/channel.php | 2 | ||||
-rw-r--r-- | include/xchan.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php index fc19d85ab..8714d256f 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2649,6 +2649,8 @@ function channel_store_lowlevel($arr) { 'channel_startpage' => ((array_key_exists('channel_startpage',$arr)) ? $arr['channel_startpage'] : ''), 'channel_pubkey' => ((array_key_exists('channel_pubkey',$arr)) ? $arr['channel_pubkey'] : ''), 'channel_prvkey' => ((array_key_exists('channel_prvkey',$arr)) ? $arr['channel_prvkey'] : ''), + 'channel_epubkey' => ((array_key_exists('channel_epubkey',$arr)) ? $arr['channel_epubkey'] : ''), + 'channel_eprvkey' => ((array_key_exists('channel_eprvkey',$arr)) ? $arr['channel_eprvkey'] : ''), 'channel_notifyflags' => ((array_key_exists('channel_notifyflags',$arr)) ? $arr['channel_notifyflags'] : '65535'), 'channel_pageflags' => ((array_key_exists('channel_pageflags',$arr)) ? $arr['channel_pageflags'] : '0'), 'channel_dirdate' => ((array_key_exists('channel_dirdate',$arr)) ? $arr['channel_dirdate'] : NULL_DATE), diff --git a/include/xchan.php b/include/xchan.php index 4a2d389c0..b8677c8c4 100644 --- a/include/xchan.php +++ b/include/xchan.php @@ -17,6 +17,7 @@ function xchan_store_lowlevel($arr) { 'xchan_guid' => ((array_key_exists('xchan_guid',$arr)) ? $arr['xchan_guid'] : ''), 'xchan_guid_sig' => ((array_key_exists('xchan_guid_sig',$arr)) ? $arr['xchan_guid_sig'] : ''), 'xchan_pubkey' => ((array_key_exists('xchan_pubkey',$arr)) ? $arr['xchan_pubkey'] : ''), + 'xchan_epubkey' => ((array_key_exists('xchan_epubkey',$arr)) ? $arr['xchan_epubkey'] : ''), 'xchan_photo_mimetype' => ((array_key_exists('xchan_photo_mimetype',$arr)) ? $arr['xchan_photo_mimetype'] : ''), 'xchan_photo_l' => ((array_key_exists('xchan_photo_l',$arr)) ? $arr['xchan_photo_l'] : ''), 'xchan_photo_m' => ((array_key_exists('xchan_photo_m',$arr)) ? $arr['xchan_photo_m'] : ''), @@ -32,6 +33,7 @@ function xchan_store_lowlevel($arr) { 'xchan_flags' => ((array_key_exists('xchan_flags',$arr)) ? intval($arr['xchan_flags']) : 0), 'xchan_photo_date' => ((array_key_exists('xchan_photo_date',$arr)) ? datetime_convert('UTC','UTC',$arr['xchan_photo_date']) : NULL_DATE), 'xchan_name_date' => ((array_key_exists('xchan_name_date',$arr)) ? datetime_convert('UTC','UTC',$arr['xchan_name_date']) : NULL_DATE), + 'xchan_updated' => ((array_key_exists('xchan_updated',$arr)) ? datetime_convert('UTC','UTC',$arr['xchan_updated']) : NULL_DATE), 'xchan_hidden' => ((array_key_exists('xchan_hidden',$arr)) ? intval($arr['xchan_hidden']) : 0), 'xchan_orphan' => ((array_key_exists('xchan_orphan',$arr)) ? intval($arr['xchan_orphan']) : 0), 'xchan_censored' => ((array_key_exists('xchan_censored',$arr)) ? intval($arr['xchan_censored']) : 0), |