RCFeed: Add log_id property (exposes rc_logid attribute)
authorKunal Mehta <legoktm@gmail.com>
Fri, 6 Jun 2014 01:59:15 +0000 (18:59 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 11 Jun 2014 22:27:13 +0000 (22:27 +0000)
Bug: 20394
Change-Id: I005be8e41a5cbea934d4dac27184f03e9af7c648

includes/rcfeed/MachineReadableRCFeedFormatter.php

index d61b6c0..18e6003 100644 (file)
@@ -87,6 +87,7 @@ abstract class MachineReadableRCFeedFormatter implements RCFeedFormatter {
                                break;
 
                        case RC_LOG:
+                               $packet['log_id'] = $attrib['rc_logid'];
                                $packet['log_type'] = $attrib['rc_log_type'];
                                $packet['log_action'] = $attrib['rc_log_action'];
                                if ( $attrib['rc_params'] ) {