Merge branch 'xorg/maint'
[platal.git] / modules / admin / homonyms.inc.php
index 8b76fcd..db2180f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2013 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -94,6 +94,7 @@ function fix_homonym(PlUser $user, $email)
                  $email);
 
     $hrmid = User::makeHomonymHrmid($email);
+    // TODO: insert twice into source_other if different domains
     XDB::execute('INSERT INTO  email_source_other (hrmid, email, domain, type, expire)
                        SELECT  {?}, {?}, id, \'homonym\', NOW()
                          FROM  email_virtual_domains
@@ -108,5 +109,5 @@ function fix_homonym(PlUser $user, $email)
     fix_bestalias($user);
 }
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>