Change File::compare to use getName, not getTitle
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 1 Aug 2012 17:40:10 +0000 (19:40 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Wed, 1 Aug 2012 17:40:10 +0000 (19:40 +0200)
commit7b2a62b74a611cfb74aa9909ddb4f6aa840040e8
treebc08a2e76ccdb61ea330b71ec7dda20a669488d0
parente41e273bd221100232160457e9383806150521ff
Change File::compare to use getName, not getTitle

For files the file name with underscores is often used,
than the compare method should do that also.
This matches than the ORDER BY img_name done by some query.

Change-Id: Ia1b89577538bdfdf751c7b9584e7c008a8c2bb1e
includes/filerepo/file/File.php