From a3c37f145817407df28e9ffea6a83a6cd2b31cdd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 5 May 2015 03:56:10 -0700 Subject: first pass name change --- include/Import/Importer.php | 4 ++-- include/Import/refimport.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/Import') diff --git a/include/Import/Importer.php b/include/Import/Importer.php index 5e684cd8e..cddfac7b5 100644 --- a/include/Import/Importer.php +++ b/include/Import/Importer.php @@ -1,11 +1,11 @@ Date: Wed, 6 May 2015 21:03:33 -0700 Subject: convert ITEM_WALL from bitfield to standalone --- include/Import/refimport.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/Import') diff --git a/include/Import/refimport.php b/include/Import/refimport.php index d248fb7df..b95411c81 100644 --- a/include/Import/refimport.php +++ b/include/Import/refimport.php @@ -88,7 +88,8 @@ function refimport_content(&$a) { $arr['author_xchan'] = $channel['channel_hash']; $arr['owner_xchan'] = $channel['channel_hash']; $arr['app'] = REFLECT_BLOGNAME; - $arr['item_flags'] = ITEM_ORIGIN|ITEM_WALL|ITEM_THREAD_TOP; + $arr['item_flags'] = ITEM_ORIGIN|ITEM_THREAD_TOP; + $arr['item_wall'] = 1; $arr['verb'] = ACTIVITY_POST; // this is an assumption @@ -256,7 +257,8 @@ function reflect_comment_store($channel,$post,$comment,$user) { $arr['edited'] = $comment['created']; $arr['author_xchan'] = $hash; $arr['owner_xchan'] = $channel['channel_hash']; - $arr['item_flags'] = ITEM_ORIGIN|ITEM_WALL; + $arr['item_flags'] = ITEM_ORIGIN; + $arr['item_wall'] = 1; $arr['verb'] = ACTIVITY_POST; $arr['comment_policy'] = 'contacts'; -- cgit v1.2.3