default argument

This commit is contained in:
Tim Starling 2006-06-06 23:16:32 +00:00
parent 410986abf8
commit ec377a67c4

View file

@ -403,7 +403,7 @@ function wfMsgNoDBForContent( $key ) {
* @return $useDB Boolean
* @return String: the requested message.
*/
function wfMsgReal( $key, $args, $useDB, $forContent=false, $transform = true ) {
function wfMsgReal( $key, $args, $useDB = true, $forContent=false, $transform = true ) {
$fname = 'wfMsgReal';
$message = wfMsgGetKey( $key, $useDB, $forContent, $transform );