From 33982a6cecb56069dae94af738541b5b4e4be4ff Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 31 Aug 2016 15:01:59 +1000 Subject: [PATCH] Changed status to active, fixed name() --- classes/lnAuth/Controller/Admin/Module.php | 2 +- classes/lnAuth/Model/Module.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/lnAuth/Controller/Admin/Module.php b/classes/lnAuth/Controller/Admin/Module.php index 61355c3..94b4d33 100644 --- a/classes/lnAuth/Controller/Admin/Module.php +++ b/classes/lnAuth/Controller/Admin/Module.php @@ -179,7 +179,7 @@ abstract class lnAuth_Controller_Admin_Module extends Controller_Module { 'id'=>'ID', 'name'=>'Name', 'notes'=>'Notes', - 'status'=>'Active', + 'active'=>'Active', 'external'=>'External', )) ->prepend(array( diff --git a/classes/lnAuth/Model/Module.php b/classes/lnAuth/Model/Module.php index 8edf9c9..ef0f926 100644 --- a/classes/lnAuth/Model/Module.php +++ b/classes/lnAuth/Model/Module.php @@ -48,7 +48,7 @@ abstract class lnAuth_Model_Module extends ORM { return ORM::factory(Kohana::classname($this->name),$id); } - public function name() { + public function name($variable=NULL) { return $this->name; }