diff options
author | Malf Furious <m@lfurio.us> | 2016-06-11 00:51:46 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-06-11 00:51:46 -0400 |
commit | 112a510bb7ba358fd4195b5b2f3c8203ab4fb91d (patch) | |
tree | 717435492a507a21d3954972d7f31440cb06bfb5 /app/model | |
parent | e2328c50f6fd101b4eaee410afb23290965b45b9 (diff) | |
download | scrott-112a510bb7ba358fd4195b5b2f3c8203ab4fb91d.tar.gz scrott-112a510bb7ba358fd4195b5b2f3c8203ab4fb91d.zip |
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.
Diffstat (limited to 'app/model')
-rw-r--r-- | app/model/obj.mod.php | 6 |
1 files changed, 3 insertions, 3 deletions
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(); } } |