Rename all models

This commit is contained in:
Frederic Guillot
2016-05-28 19:48:22 -04:00
parent 936376ffe7
commit 14713b0ec7
411 changed files with 4145 additions and 4156 deletions

View File

@@ -14,7 +14,7 @@ class GroupApi extends Base
{
public function createGroup($name, $external_id = '')
{
return $this->group->create($name, $external_id);
return $this->groupModel->create($name, $external_id);
}
public function updateGroup($group_id, $name = null, $external_id = null)
@@ -31,21 +31,21 @@ class GroupApi extends Base
}
}
return $this->group->update($values);
return $this->groupModel->update($values);
}
public function removeGroup($group_id)
{
return $this->group->remove($group_id);
return $this->groupModel->remove($group_id);
}
public function getGroup($group_id)
{
return $this->group->getById($group_id);
return $this->groupModel->getById($group_id);
}
public function getAllGroups()
{
return $this->group->getAll();
return $this->groupModel->getAll();
}
}