OSDN Git Service

get_search_words(): Cleanup, simplify.
authorhenoheno <henoheno>
Sun, 20 Nov 2005 05:31:17 +0000 (14:31 +0900)
committerhenoheno <henoheno>
Sun, 20 Nov 2005 05:31:17 +0000 (14:31 +0900)
commit244ddb3f688c136165475ba5189f79327ec41e48
tree7c7a75d69e48b0b45d64542484b7e8cd134fe03c
parentf2fd900dd9bb3b6af4f1c248fe28bbc16cd88602
get_search_words(): Cleanup, simplify.
* Allow calling without arguments
* Allow a string (not an array)
* Init something once (Not every time)
* Created function never check LANG and function_exists() (O(n)=>O(1))
* Variables are renamed
* Comments are added/removed
lib/func.php