Replace use of `|array_pop` by `|end` in cacheList.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 19 May 2023 14:42:00 +0000 (16:42 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 19 May 2023 14:42:00 +0000 (16:42 +0200)
`|end` is more commonly used, making it easier to scan for used template
modifiers.

wcfsetup/install/files/acp/templates/cacheList.tpl

index 8765e2e3301bc59d10444843246bf838899d751a..c39efc770bfd5987047decaf2fda401f740ffbc9 100644 (file)
@@ -37,7 +37,7 @@
                <dt>{lang}wcf.acp.cache.data.source{/lang}</dt>
                <dd>
                        {assign var='__source' value="\\"|explode:$cacheData.source}
-                       {lang}wcf.acp.cache.source.type.{$__source|array_pop}{/lang}
+                       {lang}wcf.acp.cache.source.type.{$__source|end}{/lang}
                        <small>{$cacheData.source}</small>
                </dd>
        </dl>