summaryrefslogtreecommitdiff
path: root/lib/search_engines.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
commitb264c03d32d04d7a33d28a5830848660f4484943 (patch)
treecfd64d5629e090433c2c923090b76ddf1414ae90 /lib/search_engines.php
parent7ad2f2a371eae2489330f30306cfcbb204411bae (diff)
move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
Diffstat (limited to 'lib/search_engines.php')
-rw-r--r--lib/search_engines.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/search_engines.php b/lib/search_engines.php
index e96570d63..559107910 100644
--- a/lib/search_engines.php
+++ b/lib/search_engines.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class SearchEngine {
+class SearchEngine
+{
protected $target;
protected $table;
@@ -45,7 +46,8 @@ class SearchEngine {
}
}
-class SphinxSearch extends SearchEngine {
+class SphinxSearch extends SearchEngine
+{
private $sphinx;
private $connected;
@@ -103,7 +105,8 @@ class SphinxSearch extends SearchEngine {
}
}
-class MySQLSearch extends SearchEngine {
+class MySQLSearch extends SearchEngine
+{
function query($q)
{
if ('identica_people' === $this->table)
@@ -115,7 +118,8 @@ class MySQLSearch extends SearchEngine {
}
}
-class PGSearch extends SearchEngine {
+class PGSearch extends SearchEngine
+{
function query($q)
{
if ('identica_people' === $this->table)