浏览代码

[MonologBundle] Removed the name for the processors configuration as it is not used

Christophe Coevoet 14 年之前
父节点
当前提交
410837e897

+ 0 - 1
src/Symfony/Bundle/MonologBundle/DependencyInjection/Configuration.php

@@ -87,7 +87,6 @@ class Configuration
         $node
             ->canBeUnset()
             ->performNoDeepMerging()
-            ->useAttributeAsKey('name')
             ->prototype('scalar')
                 ->beforeNormalization()
                     ->ifTrue(function($v) { return is_array($v) && isset($v['callback']); })

+ 0 - 1
src/Symfony/Bundle/MonologBundle/Resources/config/schema/monolog-1.0.xsd

@@ -32,7 +32,6 @@
 
     <xsd:complexType name="processor">
         <xsd:attribute name="callback" type="xsd:string" use="required" />
-        <xsd:attribute name="name" type="xsd:string" use="required">
     </xsd:complexType>
 
     <xsd:simpleType name="level">