*/
function wfMsg( $key ) {
$args = func_get_args();
- if ( count( $args ) ) {
- array_shift( $args );
- }
+ array_shift( $args );
return wfMsgReal( $key, $args, true );
}
*/
function wfMsgForContent( $key ) {
$args = func_get_args();
- if ( count( $args ) ) {
- array_shift( $args );
- }
+ array_shift( $args );
return wfMsgReal( $key, $args, true, true );
}
*/
function wfMsgNoDB( $key ) {
$args = func_get_args();
- if ( count( $args ) ) {
- array_shift( $args );
- }
+ array_shift( $args );
return wfMsgReal( $key, $args, false );
}
* Get a message from the language file, for the content
*/
function wfMsgNoDBForContent( $key ) {
-
$args = func_get_args();
- if ( count( $args ) ) {
- array_shift( $args );
- }
+ array_shift( $args );
return wfMsgReal( $key, $args, false, true );
}