aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Database.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-05-07 20:36:13 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-05-07 20:36:13 +0200
commit3c83676016bce1727f0046f4aad7865be8a71fd4 (patch)
tree28a95cdfa56776e454b42ba3126ab54db9806b49 /src/phorkie/Database.php
parent637ede8759615e1aac86af232f5c053389eb37b7 (diff)
downloadphorkie-3c83676016bce1727f0046f4aad7865be8a71fd4.tar.gz
phorkie-3c83676016bce1727f0046f4aad7865be8a71fd4.zip
use httprequest wrapper to automatically check for errors
Diffstat (limited to 'src/phorkie/Database.php')
-rw-r--r--src/phorkie/Database.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phorkie/Database.php b/src/phorkie/Database.php
index 9df6d8c..e9a75a1 100644
--- a/src/phorkie/Database.php
+++ b/src/phorkie/Database.php
@@ -13,6 +13,10 @@ class Database
return new Indexer_Elasticsearch();
}
+ public function getSetup()
+ {
+ return new Database_Setup_Elasticsearch();
+ }
}
?>