From a22c40b3b52d61cad6ef2bd75f263018f5911237 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Tue, 12 Apr 2005 14:55:32 +0000 Subject: [PATCH] now we cope with usage name changes. the soundex part still remains ! git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-533 --- include/validations/nomusage.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/validations/nomusage.inc.php b/include/validations/nomusage.inc.php index a61841a..e0b5a30 100644 --- a/include/validations/nomusage.inc.php +++ b/include/validations/nomusage.inc.php @@ -120,9 +120,8 @@ class UsageReq extends Validate if ($r->fetchOneCell() == "") { $globals->xdb->execute("UPDATE aliases SET flags = 1 | flags WHERE id = {?} LIMIT 1", $this->uid); } - $f = fopen("/tmp/flag_recherche","w"); - fputs($f,"1"); - fclose($f); + require_once 'user.func.inc.php'; + user_reindex($this->uid); return true; } -- 2.1.4