Try to define an exhaustive list of tables to copy.
[platal.git] / bin / cron / homonymes.php
index 608e3ba..cbeee19 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/php5 -q
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2010 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -35,7 +35,7 @@ $resRobot = XDB::iterator(
 while ($old = $resRobot->next()) {
     $res = XDB::query(
             "SELECT  u.hruid
-               FROM  homonymes AS h
+               FROM  homonyms AS h
          INNER JOIN  auth_user_md5 AS u USING (user_id)
               WHERE  homonyme_id = {?}",
             $old['id']);