Skip to content

Commit

Permalink
Add compat layer for constructor for eZSiteInstaller (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkamps authored Jan 23, 2018
1 parent 3774a54 commit 689d1da
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kernel/classes/ezsiteinstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ public function __construct( $parameters = false )
$this->LastErrorCode = eZSiteInstaller::ERR_OK;
}

/**
* @deprecated Use eZSiteInstaller::__construct() instead
* @param bool $parameters
*/
function eZSiteInstaller( $parameters = false )
{
self::__construct( $parameters );
}

function &instance( $params )
{
eZDebug::writeWarning( "Your installer doesn't implement 'instance' function", __METHOD__ );
Expand Down

0 comments on commit 689d1da

Please sign in to comment.