From 112a510bb7ba358fd4195b5b2f3c8203ab4fb91d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 11 Jun 2016 00:51:46 -0400 Subject: Rename variable In the Obj MVC, rename group in the model to obj. This will help with referencing the active object from template views without knowing what type of object it is. --- app/model/obj.mod.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/model') diff --git a/app/model/obj.mod.php b/app/model/obj.mod.php index f412e3c..426e1ac 100644 --- a/app/model/obj.mod.php +++ b/app/model/obj.mod.php @@ -24,9 +24,9 @@ class ObjModel extends CommonModel */ function initGroup($guid) { - $this->group = new Group($guid); - $this->owner = $this->group->getOwner(); - $this->members = $this->group->getMembers(); + $this->obj = new Group($guid); + $this->owner = $this->obj->getOwner(); + $this->members = $this->obj->getMembers(); } } -- cgit v1.2.3