Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/09/2016 01:58:10 PM (9 years ago)
Author:
xknown
Message:

Add PHP 5.x style constructors.

Keep also the PHP 4.x style constructors to avoid breaking code that depends on these methods.

See #3033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-includes/class.bb-locale.php

    r2167 r6153  
    352352     * @return BB_Locale
    353353     */
    354     function BB_Locale() {
     354    function __construct() {
    355355        $this->init();
    356356        $this->register_globals();
     357    }
     358
     359    function BB_Locale() {
     360        $this->__construct();
    357361    }
    358362}
Note: See TracChangeset for help on using the changeset viewer.