]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2301 demoting type:subtype warnings to notices
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Feb 2011 19:53:03 +0000 (19:53 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Feb 2011 19:53:03 +0000 (19:53 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8205 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/entities.php

index 7ab25de88d865b11490d20d1ecce2c0c6f1ef30b..781a744ad81ec2c1a61731b9ddc64b4750642357 100644 (file)
@@ -966,7 +966,7 @@ function elgg_get_entity_type_subtype_where_sql($table, $types, $subtypes, $pair
                                                $subtype_ids[] = (ELGG_ENTITIES_NO_VALUE === $subtype) ? ELGG_ENTITIES_NO_VALUE : $subtype_id;
                                        } else {
                                                $valid_subtypes_count--;
-                                               elgg_log("Type-subtype '$type:$subtype' does not exist!", 'WARNING');
+                                               elgg_log("Type-subtype '$type:$subtype' does not exist!", 'NOTICE');
                                                continue;
                                        }
                                }
@@ -1020,7 +1020,7 @@ function elgg_get_entity_type_subtype_where_sql($table, $types, $subtypes, $pair
                                                        ELGG_ENTITIES_NO_VALUE : $paired_subtype_id;
                                        } else {
                                                $valid_pairs_subtypes_count--;
-                                               elgg_log("Type-subtype '$paired_type:$paired_subtype' does not exist!", 'WARNING');
+                                               elgg_log("Type-subtype '$paired_type:$paired_subtype' does not exist!", 'NOTICE');
                                                // return false if we're all invalid subtypes in the only valid type
                                                continue;
                                        }