closes 357
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 19 Oct 2005 20:57:43 +0000 (20:57 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 19 Oct 2005 20:57:43 +0000 (20:57 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@121 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
hooks/search.inc.php

index dbb6444..5310cf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,7 @@ Bug/Wish :
         - #332: User can precise why he asks for a usage name.              -Car
         - #335: Already assigned promotion don't generate a request.        -CAT
         - #346: Professional profile code desynch. fixed.                   -MC
+        - #357: Reindex user for fast search at subscribe time.             -MC
 
     * Xnet :
         - #334: Interface improvements.                                     -Car
index 7e27dee..863ce2d 100644 (file)
@@ -40,6 +40,13 @@ function search_config()
 }
 
 // }}}
+// {{{ subscribe HOOK
+function search_subscribe($forlife, $uid, $promo, $pass)
+{
+    require_once('user.func.inc.php');
+    user_reindex($uid);
+}
+// }}}
 // {{{ menu HOOK
 
 function search_menu()