--- a/classes/bfw/mvc/model/home/DataModel.php
+++ b/classes/bfw/mvc/model/home/DataModel.php
@@ -7,36 +7,8 @@
namespace bfw\mvc\model\home;
-use bfw\core\Entity;
use bfw\core\Model;
-use bfw\entities\TGroup;
-use bfw\entities\TUser;
class DataModel extends Model {
- private $user;
- private $group;
-
- /**
- * Model constructor.
- */
- public function __construct() {
- $this->user = new TUser();
- $this->group = new TGroup();
- }
-
- /**
- * @return Entity[]
- */
- public function getUsers() {
- return $this->user->findAll();
- }
-
- /**
- * @return Entity[]
- */
- public function getGroups() {
- return $this->group->findAll();
- }
-
}
\ No newline at end of file