Commit 2fa55376 authored by t0xicCode's avatar t0xicCode Committed by Robert Rollins

Issue #2288563: FeedsParser-defined mapping sources no longer raise warnings.

Thank you t0xicCode for this patch!
parent 58bb8053
...@@ -123,8 +123,9 @@ class ParserVcalendar { ...@@ -123,8 +123,9 @@ class ParserVcalendar {
else { else {
// We can safely ignore certain sources. // We can safely ignore certain sources.
$known_unknowns = array( $known_unknowns = array(
// "Black Source 1" is from Feeds Tamper. 'Blank source 1', // "Black Source 1" is from Feeds Tamper.
'Blank source 1', 'parent:nid', // Defined in FeedsParser
'parent:uid', // Defined in FeedsParser
); );
if (!in_array($property_key, $known_unknowns)) { if (!in_array($property_key, $known_unknowns)) {
// Only warn the user if this mapping source is in use. // Only warn the user if this mapping source is in use.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment