X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fgoogleapps.inc.php;h=71853c4d941d63b91cc2bc9d6d46594f171e2286;hb=e0ee31204dbb8e43870716190e4549257416fcb8;hp=c0a944e8dc139245fae10328e7f2b8c733aad18d;hpb=5daf68f6846682e439570b5245a6109ada8d9304;p=platal.git diff --git a/include/googleapps.inc.php b/include/googleapps.inc.php index c0a944e..71853c4 100644 --- a/include/googleapps.inc.php +++ b/include/googleapps.inc.php @@ -1,6 +1,6 @@ activate_mail_redirection) { require_once('emails.inc.php'); - $storage = new EmailStorage($user->id(), 'googleapps'); + $storage = new EmailStorage($user, 'googleapps'); $storage->activate(); } @@ -74,7 +74,7 @@ function post_queue_u_update($job) { if ($account->active()) { // Re-adds the email redirection (if the user did request it). if ($account->activate_mail_redirection) { - $storage = new EmailStorage($user->id, 'googleapps'); + $storage = new EmailStorage($user, 'googleapps'); $storage->activate(); } @@ -101,7 +101,7 @@ function post_queue_u_update($job) { // TODO(vincent.zanotti): add the url of gappsd, when available. class GoogleAppsAccount { - // User identification: user id, and forlife. + // User identification: user id, and hruid. private $user; public $g_account_name;