X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fgoogle_apps.php;fp=bin%2Fcron%2Fgoogle_apps.php;h=c23f7d191da2dd8e74ca0c87ec173c3f379318cc;hb=1f0d490c551ab1ca021f4ea8af8c2d645e07969e;hp=9b6f78d2452d8ec038d20b7cf6c9e0b420b0d1c9;hpb=f67c8d9a660207c5be75d4d079b7f740e5318a6c;p=platal.git diff --git a/bin/cron/google_apps.php b/bin/cron/google_apps.php index 9b6f78d..c23f7d1 100755 --- a/bin/cron/google_apps.php +++ b/bin/cron/google_apps.php @@ -111,7 +111,7 @@ while ($nickname = $res->next()) { $res = XDB::iterator( "SELECT g.l_userid AS id, g.g_nickname AS nickname FROM gapps_nicknames AS g - LEFT JOIN email_source_account AS s ON (s.uid = g.l_userid AND s.type = 'forlife' AND s.email = g.g_nickname) + LEFT JOIN email_source_account AS s ON (s.uid = g.l_userid AND s.type = 'alias' AND s.email = g.g_nickname) WHERE g.l_userid IS NOT NULL AND s.email IS NULL"); while ($nickname = $res->next()) { XDB::execute(