Index: trunk/phase3/includes/Export.php |
— | — | @@ -480,10 +480,10 @@ |
481 | 481 | */ |
482 | 482 | function closePage() { |
483 | 483 | return " </page>\n"; |
484 | | - if ( !$this->firstPageWritten ) { |
485 | | - $this->firstPageWritten = $this->pageInProgress; |
486 | | - } |
487 | | - $this->lastPageWritten = $this->pageInProgress; |
| 484 | + //if ( !$this->firstPageWritten ) { |
| 485 | + // $this->firstPageWritten = $this->pageInProgress; |
| 486 | + //} |
| 487 | + //$this->lastPageWritten = $this->pageInProgress; |
488 | 488 | } |
489 | 489 | |
490 | 490 | /** |
— | — | @@ -711,7 +711,7 @@ |
712 | 712 | |
713 | 713 | /** |
714 | 714 | * Close the old file, and move it to a specified name. |
715 | | - * Use this for the last piece of a file written out |
| 715 | + * Use this for the last piece of a file written out |
716 | 716 | * at specified checkpoints (e.g. every n hours). |
717 | 717 | * @param $newname mixed File name. May be a string or an array with one element |
718 | 718 | * @param $open bool If true, a new file with the old filename will be opened again for writing (default: false) |
Index: trunk/phase3/includes/WebRequest.php |
— | — | @@ -876,8 +876,6 @@ |
877 | 877 | } |
878 | 878 | throw new HttpError( 403, |
879 | 879 | 'Invalid file extension found in the path info or query string.' ); |
880 | | - |
881 | | - return false; |
882 | 880 | } |
883 | 881 | return true; |
884 | 882 | } |