joomla/joomla-platform — pull request #963 by AmyStephen (2012-03-05 21:39:22+00:00)
Title: Uncouple the Filesystem Path Class from JUser. 

A temporary file name is created using a random value in order to test if the script owns the path. Currently, this process invokes a method from JUser to build a random value. The patch changes that process to instead use mt_rand() so as to uncouple the Path Class from JUser.