Skip to content

Commit

Permalink
remove commented-out code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmj committed Sep 24, 2013
1 parent 697fe99 commit 80b05e7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions models/Api/ExhibitPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ public function getRepresentation(Omeka_Record_AbstractRecord $record)
'attachments' => array()
);

/*
$blockAttachmentsCount = get_db()->getTable('ExhibitBlockAttachment')
->count(array('block_id' => $pageBlock->id));
$blockRepresentation['attachments']['count'] = $blockAttachmentsCount;
$blockRepresentation['attachments']['resource']
// */


// /*
$blockAttachments = $pageBlock->getAttachments();

foreach($blockAttachments as $attachment) {
Expand All @@ -77,7 +68,6 @@ public function getRepresentation(Omeka_Record_AbstractRecord $record)
}
$blockRepresentation['attachments'][] = $attachmentRepresentation;
}
// */
$representation['page_blocks'][] = $blockRepresentation;
}
return $representation;
Expand Down

0 comments on commit 80b05e7

Please sign in to comment.