null adapter that is used when no search adapter is configured
[phorkie.git] / src / phorkie / Database / Adapter / Null / Indexer.php
diff --git a/src/phorkie/Database/Adapter/Null/Indexer.php b/src/phorkie/Database/Adapter/Null/Indexer.php
new file mode 100644 (file)
index 0000000..afa9713
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+namespace phorkie;
+
+class Database_Adapter_Null_Indexer
+{
+    public function addRepo(Repository $repo, $crdate = null) {}
+
+    public function updateRepo(Repository $repo, $crdate = null) {}
+
+    public function deleteAllRepos() {}
+    public function deleteRepo(Repository $repo) {}
+}
+
+?>