Fixes hruid-incompatible changes from last merge.
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 28 Sep 2008 11:25:13 +0000 (13:25 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 28 Sep 2008 11:25:13 +0000 (13:25 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
classes/xorgsession.php

index 0526e43..0512d47 100644 (file)
@@ -93,7 +93,8 @@ class XorgSession extends PlSession
                     global $globals;
                     if ($globals->mailstorage->googleapps_domain) {
                         require_once 'googleapps.inc.php';
-                        $account = new GoogleAppsAccount($uid);
+                        $user = User::getSilent($uid);
+                        $account = new GoogleAppsAccount($user);
                         if ($account->active() && $account->sync_password) {
                             $account->set_password($new_password);
                         }