@@ 355-364 (lines=10) @@ | ||
352 | } |
|
353 | break; |
|
354 | ||
355 | case 'cp_friend_request': |
|
356 | ||
357 | $entity_guid = $invoked_by->guid; |
|
358 | $user_guid = $send_to->getGUID(); |
|
359 | $entry_type = 'personal'; |
|
360 | $group_name = NULL; |
|
361 | $action_type = 'friend_request'; |
|
362 | $notification_entry = json_encode($content_array); |
|
363 | ||
364 | break; |
|
365 | ||
366 | case 'cp_friend_approve': |
|
367 | ||
@@ 366-374 (lines=9) @@ | ||
363 | ||
364 | break; |
|
365 | ||
366 | case 'cp_friend_approve': |
|
367 | ||
368 | $entity_guid = $invoked_by->guid; |
|
369 | $user_guid = $send_to->getGUID(); |
|
370 | $entry_type = 'personal'; |
|
371 | $group_name = NULL; |
|
372 | $action_type = 'friend_approved'; |
|
373 | $notification_entry = json_encode($content_array); |
|
374 | break; |
|
375 | ||
376 | case 'cp_hjtopic': |
|
377 | case 'cp_hjpost': |