1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with installer

Discussion in 'XenForo Development Discussions' started by Robust, Nov 24, 2015.

  1. Robust

    Robust Well-Known Member

    Hey,

    This is a (very snipped version to relevant stuff) version of what's in Apantic's core:
    https://gist.github.com/A-David/4b9cd13f86ff6e28d7e7

    It actually does nothing. No errors, but no SQL queries executed. I'm not really sure what's up.

    The data is overwritten by a class extending it (e.g.
    Code:
    use \Apantic\Core\Installer\Database;
    
    class Apantic_Addon_Installer extends \Apantic\Core\Installer\Database
    {
    
    }
    (dummy code, not really making a favourite numbers add-on).

    Doesn't do a thing. Not sure what's up.
     
    Last edited: Nov 24, 2015
  2. Robust

    Robust Well-Known Member

    Fixed. Late static binding, a feature introduced in PHP 5.3

    Wasn't expecting that o_O
     

Share This Page