summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php
index 9f0d93f69..facdf82c5 100644
--- a/api/index.php
+++ b/api/index.php
@@ -57,7 +57,7 @@
$method = strtolower($_REQUEST["op"]);
- $handler = new API(Db::get(), $_REQUEST);
+ $handler = new API($_REQUEST);
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {