Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/12/2016 01:51:49 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/0.9/bb-admin/class-install.php

    r1909 r6157  
    9595     * @return boolean
    9696     **/
    97     function BB_Install($caller)
     97    function __construct($caller)
    9898    {
    9999        $this->caller = $caller;
     
    103103       
    104104        return true;
     105    }
     106
     107    function BB_Install($caller)
     108    {
     109        $this->__construct($caller);
    105110    }
    106111   
Note: See TracChangeset for help on using the changeset viewer.