Replace status with active in tables
This commit is contained in:
@@ -18,7 +18,7 @@ class Controller_Oauth extends Controller_TemplateDefault {
|
||||
public function action_login() {
|
||||
// Make sure we are called with a valid oauth plugin
|
||||
$oo = ORM::factory('Oauth',array('name'=>$this->request->param('id')));
|
||||
if (! $oo->loaded() OR ! $oo->status)
|
||||
if (! $oo->loaded() OR ! $oo->active)
|
||||
HTTP::redirect('login');
|
||||
|
||||
$auth = Auth::instance($oo);
|
||||
@@ -47,7 +47,7 @@ class Controller_Oauth extends Controller_TemplateDefault {
|
||||
public function action_link() {
|
||||
// Make sure we are called with a valid oauth plugin
|
||||
$oo = ORM::factory('Oauth',array('name'=>$this->request->param('id')));
|
||||
if (! $oo->loaded() OR ! $oo->status)
|
||||
if (! $oo->loaded() OR ! $oo->active)
|
||||
HTTP::redirect('login');
|
||||
|
||||
// Since we have logged in, get our user details
|
||||
|
Reference in New Issue
Block a user