From: Pierre Habouzit (MadCoder Date: Tue, 12 Apr 2005 14:55:32 +0000 (+0000) Subject: now we cope with usage name changes. the soundex part still remains ! X-Git-Tag: xorg/old~228 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a22c40b3b52d61cad6ef2bd75f263018f5911237;p=platal.git 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 --- 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; }