Author: david
Date: Thu Sep 24 16:54:30 2009
New Revision: 3527

Log:
Remove adding anonymous users to the 'anonymous' group - unecessary and kills 
installer.

Modified:
   trunk/apps/qubit/lib/myUser.class.php

Modified: trunk/apps/qubit/lib/myUser.class.php
==============================================================================
--- trunk/apps/qubit/lib/myUser.class.php       Thu Sep 24 16:42:57 2009        
(r3526)
+++ trunk/apps/qubit/lib/myUser.class.php       Thu Sep 24 16:54:30 2009        
(r3527)
@@ -19,21 +19,6 @@
 
 class myUser extends sfBasicSecurityUser
 {
-  public function __construct(sfEventDispatcher $dispatcher, sfStorage 
$storage, $options = array())
-  {
-    parent::__construct($dispatcher, $storage, $options);
-
-    // Add un-authenticated users to the anonymous group
-    if (!$this->isAuthenticated())
-    {
-      $anonymousGroup = QubitAclGroup::getById(QubitAclGroup::ANONYMOUS_ID);
-      if ($anonymousGroup)
-      {
-        $this->addCredential($anonymousGroup->getName(array('culture' => 
'en')));
-      }
-    }
-  }
-
   public function signIn($user)
   {
     $this->setAuthenticated(true);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to