Skip to content

Commit 3fd3f40

Browse files
author
André R
committed
Merge branch '2017.12' into 2018.09
2 parents 24ed39a + ccb3261 commit 3fd3f40

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

kernel/classes/datatypes/ezuser/ezuser.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ public function __construct( $row = array() )
6969
$this->OriginalPasswordConfirm = false;
7070
}
7171

72+
/**
73+
* @deprecated Use eZUser::__construct() instead
74+
* @param array $row
75+
*/
76+
function eZUser( $row = array() )
77+
{
78+
self::__construct( $row );
79+
}
80+
7281
static function definition()
7382
{
7483
static $definition = array( 'fields' => array( 'contentobject_id' => array( 'name' => 'ContentObjectID',

kernel/classes/ezcontentobject.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ public function __construct( $row )
8787
$this->Permissions = array();
8888
}
8989

90+
/**
91+
* @deprecated Use eZContentObject::__construct() instead
92+
* @param int|array $row
93+
*/
94+
function eZContentObject( $row )
95+
{
96+
self::__construct( $row );
97+
}
98+
9099
static function definition()
91100
{
92101
static $definition = array( "fields" => array( "id" => array( 'name' => 'ID',

kernel/classes/ezcontentupload.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ public function __construct( $params = false )
7171
}
7272
}
7373

74+
/**
75+
* @deprecated Use eZContentUpload::__construct() instead
76+
* @param bool $params
77+
*/
78+
function eZContentUpload( $params = false )
79+
{
80+
self::__construct( $params );
81+
}
82+
7483
/*!
7584
\return an array with attribute names.
7685
*/

0 commit comments

Comments
 (0)