dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbbd2e1
)
Cleanup for r36660: use PHP 5 __construct() name for constructors to make things...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 2 Jul 2008 02:02:26 +0000
(
02:02
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 2 Jul 2008 02:02:26 +0000
(
02:02
+0000)
includes/SearchPostgres.php
patch
|
blob
|
history
diff --git
a/includes/SearchPostgres.php
b/includes/SearchPostgres.php
index
974e058
..
88e4a0d
100644
(file)
--- a/
includes/SearchPostgres.php
+++ b/
includes/SearchPostgres.php
@@
-28,7
+28,7
@@
*/
class SearchPostgres extends SearchEngine {
*/
class SearchPostgres extends SearchEngine {
- function
SearchPostgres
( $db ) {
+ function
__construct
( $db ) {
$this->db = $db;
}
$this->db = $db;
}
@@
-218,8
+218,8
@@
class SearchPostgres extends SearchEngine {
* @ingroup Search
*/
class PostgresSearchResult extends SearchResult {
* @ingroup Search
*/
class PostgresSearchResult extends SearchResult {
- function
PostgresSearchResul
t( $row ) {
- parent::
SearchResul
t($row);
+ function
__construc
t( $row ) {
+ parent::
__construc
t($row);
$this->score = $row->score;
}
function getScore() {
$this->score = $row->score;
}
function getScore() {
@@
-231,7
+231,7
@@
class PostgresSearchResult extends SearchResult {
* @ingroup Search
*/
class PostgresSearchResultSet extends SearchResultSet {
* @ingroup Search
*/
class PostgresSearchResultSet extends SearchResultSet {
- function
PostgresSearchResultSe
t( $resultSet, $terms ) {
+ function
__construc
t( $resultSet, $terms ) {
$this->mResultSet = $resultSet;
$this->mTerms = $terms;
}
$this->mResultSet = $resultSet;
$this->mTerms = $terms;
}