resourceloader: Fix undefined $filename in safeFileHash()
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Aug 2015 05:51:06 +0000 (22:51 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Aug 2015 05:51:06 +0000 (22:51 -0700)
commite68ce73a89bdecc21beb60552be7e72d5e580b83
tree4abbe1052f88d84895e8e24942ea80aff325dbd2
parentd861c6593a55c67fef5019a2f3289f17c0c8bd21
resourceloader: Fix undefined $filename in safeFileHash()

Follows-up 28f6d7fbdee.

This was causing versions to stay stuck at their current version.
It worked fine for the initial deployment since the rest of the
definition summary is still fine, but subsequent deploys that changed
only the file were ineffective due to these silently becoming
empty strings.

Thanks to suppressWarnings() we never saw these anywhere in the
tests or in production.

Change-Id: Ib4371255fe970442bcc0041219bce633a7f6f6dd
includes/resourceloader/ResourceLoaderModule.php