Incomplete example for deleting of template listeners
authorMarcel Werk <burntime@woltlab.com>
Wed, 22 Sep 2021 14:23:12 +0000 (16:23 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 22 Sep 2021 14:23:12 +0000 (16:23 +0200)
snippets/package/pip/templateListener.xml

index e964e52cf90a48cb1e8a04e4c8369f2478bcbff1..966df8cd36f67063dd0e382941b8c95985a3c5c9 100644 (file)
        </import>
 
        <delete>
-               <templatelistener name="oldTemplateListenerName" />
+               <templatelistener name="oldTemplateListenerName">
+                       <environment>user</environment>
+                       <templatename>headIncludeJavaScript</templatename>
+                       <eventname>javascriptInclude</eventname>
+               </templatelistener>
        </delete>
 </data>
\ No newline at end of file