Fix comment. There's no tempfile function in php.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 18 Jul 2010 13:52:30 +0000 (13:52 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 18 Jul 2010 13:52:30 +0000 (13:52 +0000)
includes/GlobalFunctions.php

index 6be53ad..a68daf0 100644 (file)
@@ -2096,7 +2096,7 @@ function &wfGetMimeMagic() {
  * variables are then checked in sequence, and if none are set /tmp is
  * returned as the generic Unix default.
  *
- * NOTE: When possible, use the tempfile() function to create temporary
+ * NOTE: When possible, use the tempnam() function to create temporary
  * files to avoid race conditions on file creation, etc.
  *
  * @return String