classes/bfw/mvc/model/home/DataModel.php
changeset 18 95e61b581061
parent 10 b441d3c0f572
child 28 29a3e34acf64
--- 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