equal
deleted
inserted
replaced
80 $this->error_404(); |
80 $this->error_404(); |
81 $output->footer(); |
81 $output->footer(); |
82 } |
82 } |
83 } |
83 } |
84 |
84 |
85 function error_404() |
85 // We add the unused variable $userpage here to silence "declaration should be compatible" errors |
|
86 function error_404($userpage = false) |
86 { |
87 { |
87 global $lang, $output; |
88 global $lang, $output; |
88 $func_name = "page_{$this->namespace}_{$this->page_id}"; |
89 $func_name = "page_{$this->namespace}_{$this->page_id}"; |
89 |
90 |
90 if ( $this->namespace == 'Admin' ) |
91 if ( $this->namespace == 'Admin' ) |