Permalink
Browse files

More 3.1 compat

  • Loading branch information...
lukemorton committed Jan 1, 2011
1 parent c05d330 commit 0d66674963bd650870ad6306b6138c3ac3471c38
Showing with 3 additions and 3 deletions.
  1. +3 −3 classes/prophet/controller/error.php
@@ -7,20 +7,20 @@ public function before()
// External requests default to 404
if ($this->request->is_initial())
{
- $this->request->action = 404;
+ $this->request->action(404);
}
return parent::before();
}
public function action_404()
{
- $this->request->status = 404;
+ $this->request->status(404);
}
public function action_500()
{
- $this->request->status = 500;
+ $this->request->status(500);
}
}

0 comments on commit 0d66674

Please sign in to comment.