Converts suid features to the new hruid model.
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 2 Aug 2008 21:00:29 +0000 (23:00 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 2 Aug 2008 21:00:29 +0000 (23:00 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
classes/xorgsession.php

index 73c03e6..4a15365 100644 (file)
@@ -220,7 +220,7 @@ class XorgSession extends PlSession
         if (S::has('suid')) {
             $suid = S::v('suid');
             $logger = S::logger($uid);
-            $logger->log("suid_start", S::v('forlife') . " by " . $suid['uid']);
+            $logger->log("suid_start", S::v('hruid') . " by " . $suid['hruid']);
         } else {
             $logger = S::logger($uid);
             setcookie('ORGuid', $uid, (time() + 25920000), '/', '', 0);