Add a link to password documentation.
[platal.git] / plugins / insert.getUserName.php
index 78d4947..08dd7df 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -40,7 +40,7 @@ function smarty_insert_getUsername()
                  FROM virtual AS v
            INNER JOIN virtual_redirect USING(vid)
            INNER JOIN aliases AS a ON(id={?} AND a.type='a_vie')
-                 WHERE redirect = CONCAT(a.alias, {?}) 
+                 WHERE redirect = CONCAT(a.alias, {?})
                       OR redirect = CONCAT(a.alias, {?})",
                $id, "@".$globals->mail->domain, "@".$globals->mail->domain2);
        $alias = $res->fetchOneCell();
@@ -50,4 +50,5 @@ function smarty_insert_getUsername()
      return $login;
 }
 
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
 ?>