Skip to content

Commit

Permalink
Don't index a page.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Aug 17, 2012
1 parent fd1a644 commit 6987a7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions www/includes/easyparliament/hansardlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,11 @@ function _get_hansard_data ($input) {
// Not sure.
if ( ($this->major && $hansardmajors[$this->major]['type']=='debate') && ($item['htype'] == '10' || $item['htype'] == '11') ) {

if ($item['epobject_id'] == 15674958) {
global $DATA, $this_page;
$DATA->set_page_metadata($this_page, 'robots', 'noindex');
}

if ($item['htype'] == '10') {
// Section - get a count of items within this section that
// don't have a subsection heading.
Expand Down

0 comments on commit 6987a7d

Please sign in to comment.