Commit graph

6 commits

Author SHA1 Message Date
Greg Sabino Mullane
75df09b077 Minor tweaks to search query. 2006-11-29 16:49:10 +00:00
Nick Jenkins
14c53b728f Code housekeeping stuff (and barring any stuff-ups on my behalf, there should be no changes in behaviour whatsoever after this) -
* removing some unused global declarations.
* removing or commenting out or adding comments for unused local vars.
* Adding one or two local var declarations.
* Declaring $matches array passed to preg_match() / preg_match_all() as array() before using [not required, just have a slight preference for the explicitness].
* remove one or two pass-by-reference function declarations where the value is not modified.
* Adding some braces to if-else blocks.
* In Parser.php, stripstrate is now an object rather than an array as per r17820, so we no longer need ask for a reference to it (as in "$x =& $this->mStripState;"), and in fact it's probably just simpler to get rid of $x altogether.
* Moving some preg regexes from "" quoting to '' quoting to stop static analyzer whinging about bad escape sequences.

... up to "LinksUpdate.php" in the includes/ directory.
2006-11-23 08:25:56 +00:00
Greg Sabino Mullane
9ab8dcda19 Explicitly use 'default' locale for tsearch2 queries. 2006-09-03 02:43:26 +00:00
Greg Sabino Mullane
7b9af4c70b Change reserved word table names "user" and "text" 2006-07-23 02:04:40 +00:00
Greg Sabino Mullane
58303aa5df Change hard-coded vector fields to variables. 2006-07-05 04:11:20 +00:00
Greg Sabino Mullane
4346921176 Add SearchPostgres.php 2006-07-05 03:54:01 +00:00