Skip to:
Content

bbPress.org

Changeset 6163


Ignore:
Timestamp:
12/13/2016 09:03:38 AM (7 years ago)
Author:
xknown
Message:

Branch 1.2: Fix parse errors in PHP 7

The result of new can't be longer assigned by reference.
See #3033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bb-settings.php

    r2448 r6163  
    186186// Setup the global database connection
    187187$bbdb_class = BB_DATABASE_CLASS;
    188 $bbdb =& new $bbdb_class( array(
     188$bbdb = new $bbdb_class( array(
    189189    'name' => BBDB_NAME,
    190190    'user' => BBDB_USER,
Note: See TracChangeset for help on using the changeset viewer.