Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/29/2016 09:24:53 PM (8 years ago)
Author:
boonebgorges
Message:

Stop assigning func_get_args() to a variable.

This was a workaround for a syntax limitation in PHP 5.2.

See #7299.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-forums/bp-forums-bbpress-sa.php

    r11032 r11363  
    237237            parent::__construct( $dbuser, $dbpassword, $dbname, $dbhost );
    238238
    239             $args = func_get_args();
    240             $args = call_user_func_array( array( &$this, 'init' ), $args );
     239            $args = call_user_func_array( array( &$this, 'init' ), func_get_args() );
    241240
    242241            if ( $args['host'] )
Note: See TracChangeset for help on using the changeset viewer.