owncloud/core — pull request #11752 by LukasReschke (2014-10-23 21:28:36+00:00)
Title: Use function outside of loop

Otherwise the function is executed n times which is a lot of overhead.

@MorrisJobke