Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 9cff9fa

Browse files
author
Jamie Snape
committed
Remove duplicate array keys
1 parent 4eddc18 commit 9cff9fa

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

core/models/base/BitstreamModelBase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function __construct()
3737
'sizebytes' => array('type' => MIDAS_DATA),
3838
'checksum' => array('type' => MIDAS_DATA),
3939
'path' => array('type' => MIDAS_DATA),
40-
'assetstore_id' => array('type' => MIDAS_DATA),
4140
'date' => array('type' => MIDAS_DATA),
4241
'itemrevision' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'ItemRevision', 'parent_column' => 'itemrevision_id', 'child_column' => 'itemrevision_id'),
4342
'assetstore' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Assetstore', 'parent_column' => 'assetstore_id', 'child_column' => 'assetstore_id'),

modules/packages/controllers/components/ApiComponent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public function extensionList($args)
108108
'repository_url' => $dao->getRepositoryUrl(),
109109
'submissiontype' => $dao->getSubmissiontype(),
110110
'package' => $dao->getPackagetype(),
111-
'name' => $dao->getItem()->getName(),
112111
'productname' => $dao->getProductname(),
113112
'category' => $dao->getCategory(),
114113
'description' => $dao->getDescription(),

0 commit comments

Comments
 (0)