Skip to content

Commit

Permalink
Add BC constructor for eZContentUploadHandler (ezsystems#1392)
Browse files Browse the repository at this point in the history
* Add BC constructor for eZContentUploadHandler

To avoid issues for ezodf, add bc constructor.

See: ezsystems/ezodf#18

* CS
  • Loading branch information
andrerom committed Oct 4, 2018
1 parent c9af39b commit 677b3ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kernel/classes/ezcontentuploadhandler.php
Expand Up @@ -38,6 +38,16 @@ public function __construct( $name, $identifier )
$this->Identifier = $identifier;
}

/**
* @deprecated Use eZContentUploadHandler::__construct() instead
* @param string $name
* @param string $identifier
*/
public function eZContentUploadHandler( $name, $identifier )
{
self::__construct( $name, $identifier );
}

/*!
\pure
Handles the file \a $filePath and creates one ore more content objects.
Expand Down

0 comments on commit 677b3ad

Please sign in to comment.