Skip to content
Permalink
Browse files

[PHP7] Add eZContentObjectTreeNode::__construct() now that BC constru…

…ct method is added
  • Loading branch information...
andrerom committed May 3, 2019
1 parent dee3162 commit c6f37e64352b734fd06c6a438c0787052ec7181e
Showing with 6 additions and 1 deletion.
  1. +6 −1 kernel/classes/ezcontentobjecttreenode.php
@@ -32,13 +32,18 @@ class eZContentObjectTreeNode extends eZPersistentObject
const SORT_ORDER_DESC = 0;
const SORT_ORDER_ASC = 1;
public function __construct( $row = array() )
{
parent::__construct( $row );
}
/**
* @deprecated Use eZContentObjectTreeNode::__construct() instead
* @param int|array $row
*/
function eZContentObjectTreeNode( $row = array() )
{
parent::__construct( $row );
self::__construct( $row );
}
/**

0 comments on commit c6f37e6

Please sign in to comment.
You can’t perform that action at this time.