#!/usr/bin/php5 -q next()) { $res = XDB::query('SELECT a.hruid FROM homonyms AS h INNER JOIN accounts AS a ON (h.uid = a.uid) WHERE homonyme_id = {?}', $old['id']); $hruids = $res->fetchColumn(); $homonym = User::getSilent($old['id']); $req = new HomonymeReq($homonym, $old['alias'], $hruids, $old['expire'] > date("Y-m-d")); $req->submit(); } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>