diff options
| author | spiderr <spider@viovio.com> | 2013-03-02 21:45:18 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-03-02 21:45:18 -0500 |
| commit | 835ea4894c2c8dcfd7a7bb50a07cd2e558eccdb5 (patch) | |
| tree | e0bab1821b6fdce17786dfdb831ed6f11e3a624f | |
| parent | 6fa4760311ad7313f26f4dc13273cb9b3b1a3c00 (diff) | |
| download | boards-PRE_BOOTSTRAP.tar.gz boards-PRE_BOOTSTRAP.tar.bz2 boards-PRE_BOOTSTRAP.zip | |
setCanonicalLink; use HTTP_GONE for deleted topicsPRE_BOOTSTRAP
| -rw-r--r-- | boards_rss.php | 2 | ||||
| -rw-r--r-- | view_board_inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boards_rss.php b/boards_rss.php index 603486b..1de8151 100644 --- a/boards_rss.php +++ b/boards_rss.php @@ -24,7 +24,7 @@ if( !empty( $_REQUEST['t'] ) || !empty($_REQUEST['b'] ) ){ $gContent->load(); } else{ - $gBitSystem->fatalError(tra("Unknown discussion"), NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND ); + $gBitSystem->fatalError(tra("Unknown discussion"), NULL, NULL, HttpStatusCodes::HTTP_GONE ); } } $gContent->verifyViewPermission(); diff --git a/view_board_inc.php b/view_board_inc.php index b15b4b6..1c2d7fb 100644 --- a/view_board_inc.php +++ b/view_board_inc.php @@ -29,7 +29,7 @@ if ( @BitBase::verifyId( $_REQUEST['migrate_board_id'] ) ) { require_once( BOARDS_PKG_PATH.'lookup_inc.php' ); if( !$gContent->isValid() ) { - $gBitSystem->fatalError( "The board you requested could not be found.", NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND ); + $gBitSystem->fatalError( "The board you requested could not be found.", NULL, NULL, HttpStatusCodes::HTTP_GONE ); } // approve or reject ananymous comments |
