aboutsummaryrefslogtreecommitdiff
path: root/w/class/controllerdb.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/class/controllerdb.php')
-rw-r--r--w/class/controllerdb.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/w/class/controllerdb.php b/w/class/controllerdb.php
index 5952627..f21d265 100644
--- a/w/class/controllerdb.php
+++ b/w/class/controllerdb.php
@@ -15,15 +15,6 @@ class Controllerdb extends Controller
}
- public function dbinit()
- {
- $this->database = new SleekDBw(__DIR__ . '/../../w_database', [
- 'auto_cache' => false
- ]);
- $this->artstore = $this->database->store(Config::arttable());
-
- }
-
public function fetch()
@@ -42,6 +33,11 @@ class Controllerdb extends Controller
}
+ public function add()
+ {
+ $user = $usersDB->where( 'name', '=', 'Joshua Edwards' )->fetch();
+ }
+