SimpleMachines/SMF2.1 — pull request #2442 by MissAllSunday (2014-10-20 15:51:01+00:00)
Title: Writable files

There are a few raw calls to chmod on upgrade.php, this PR replace those calls with a function for better handling