https://bugzilla.wikimedia.org/show_bug.cgi?id=24730

--- Comment #5 from Platonides <platoni...@gmail.com> 2010-08-08 22:15:58 UTC 
---
I think the whole content of the conditional could be replaced by:

$filename = $this->imagePath( $info['salt'], $info['hash'] );
if ( is_file( $filename ) ) {
unlink( $filename );
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to