X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fgoogle_apps.php;fp=bin%2Fcron%2Fgoogle_apps.php;h=307fb7a5b9eb0cd0eacb0274dc696826b08c10e1;hb=1bf36cd12647c3d2eb8f9ec2a1f0eaad0b5f7e81;hp=60b83117f75af5a224df13c9aab1162d903211e8;hpb=6d8ec13c63e3efbe91396273a3bf8449843e10d5;p=platal.git diff --git a/bin/cron/google_apps.php b/bin/cron/google_apps.php index 60b8311..307fb7a 100755 --- a/bin/cron/google_apps.php +++ b/bin/cron/google_apps.php @@ -23,9 +23,9 @@ // Updates the gapps_accounts table with Plat/al information. // Cleans-up the job queue, and execute post-queue hooks. -require_once('connect.db.inc.php'); -require_once('plmailer.php'); -require_once('googleapps.inc.php'); +require_once 'connect.db.inc.php'; +require_once 'plmailer.php'; +require_once 'googleapps.inc.php'; if (!$globals->mailstorage->googleapps_domain) { exit; } @@ -44,7 +44,7 @@ while ($account = $res->next()) { $account['id'], $account['g_account_name']); } -/* Emits a warning for GApps accounts without local user_id. */ +/* Emits a warning for GApps accounts without local uid. */ $res = XDB::iterator( "SELECT g.g_account_name FROM gapps_accounts AS g @@ -52,7 +52,7 @@ $res = XDB::iterator( WHERE (g.l_userid IS NULL OR g.l_userid <= 0) AND a.uid IS NULL"); while ($account = $res->next()) { if (!preg_match("/^admin-/", $account['g_account_name'])) { - printf("Warning: GApps account '%s' has no local user_id.\n", $account['g_account_name']); + printf("Warning: GApps account '%s' has no local uid.\n", $account['g_account_name']); } } @@ -71,7 +71,7 @@ while ($nickname = $res->next()) { $nickname['id'], $nickname['g_account_name']); } -/* Emits a warning for nicknames without local user_id. */ +/* Emits a warning for nicknames without local uid. */ $res = XDB::iterator( "SELECT g.g_account_name FROM gapps_nicknames AS g @@ -79,7 +79,7 @@ $res = XDB::iterator( WHERE (g.l_userid IS NULL OR g.l_userid <= 0) AND a.uid IS NULL"); while ($nickname = $res->next()) { if (!preg_match("/^admin-/", $nickname['g_account_name'])) { - printf("Warning: Nickname '%s' has no local user_id.\n", $nickname['g_account_name']); + printf("Warning: Nickname '%s' has no local uid.\n", $nickname['g_account_name']); } }