Completed
Pull Request — master (#7)
by Mark A.
02:37
created
src/DependencyCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@
 block discarded – undo
56 56
 									 $longHtml );
57 57
 			}
58 58
 			// HACK!
59
-			$mod = $wgResourceModules['ext.SimpleBatchUpload.jquery-file-upload'];
60
-			$mod['localBasePath'] = $IP;
61
-			$mod['remoteBasePath'] = $wgScriptPath;
62
-			$wgResourceModules['ext.SimpleBatchUpload.jquery-file-upload'] = $mod;
59
+			$mod = $wgResourceModules[ 'ext.SimpleBatchUpload.jquery-file-upload' ];
60
+			$mod[ 'localBasePath' ] = $IP;
61
+			$mod[ 'remoteBasePath' ] = $wgScriptPath;
62
+			$wgResourceModules[ 'ext.SimpleBatchUpload.jquery-file-upload' ] = $mod;
63 63
 		}
64 64
 	}
65 65
 
Please login to merge, or discard this patch.