Skip to content

Commit

Permalink
[TASK] Remove scheduled deprecation of "arguments" on Asset
Browse files Browse the repository at this point in the history
Argument `arguments` is renamed to `variables`. This change removes the support for and deprecation logging of the old name.
  • Loading branch information
NamelessCoder committed Jun 20, 2016
1 parent 1e40f2e commit 7ca6865
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Classes/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,6 @@ public static function getInstance()
*/
public static function createFromSettings(array $settings)
{
if (true === isset($settings['arguments'])) {
// @TODO: remove in 2.2 or 3.0 whichever comes first.
GeneralUtility::deprecationLog(
'Deprecated property "arguments" was used in VHS Asset settings for asset named "' . $settings['name'] .
'". Please correct this to use the proper "variables" attribute'
);
$settings['variables'] = $settings['arguments'];
unset($settings['arguments']);
}
$asset = self::getInstance();
foreach ($settings as $propertyName => $value) {
ObjectAccess::setProperty($asset, $propertyName, $value);
Expand Down

0 comments on commit 7ca6865

Please sign in to comment.