]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Repository.php
Use group name instead of role
[userbundle] / Repository.php
index 7910305679d572a813532b9375debda26e3af9ac..99a241ad270207ddcbd83f2becf97fb899fb001b 100644 (file)
@@ -85,9 +85,6 @@ class Repository extends EntityRepository {
                        'RapsysUserBundle:Civility' => $qs->getTableName($manager->getClassMetadata($this->config['class']['civility']), $dp),
                        'RapsysUserBundle:Group' => $qs->getTableName($manager->getClassMetadata($this->config['class']['group']), $dp),
                        'RapsysUserBundle:User' => $qs->getTableName($manager->getClassMetadata($this->config['class']['user']), $dp),
                        'RapsysUserBundle:Civility' => $qs->getTableName($manager->getClassMetadata($this->config['class']['civility']), $dp),
                        'RapsysUserBundle:Group' => $qs->getTableName($manager->getClassMetadata($this->config['class']['group']), $dp),
                        'RapsysUserBundle:User' => $qs->getTableName($manager->getClassMetadata($this->config['class']['user']), $dp),
-                       //Set default group
-                       //XXX: or $manager->getConnection()->quote($this->config['default']['group'][0]) ???
-                       ':defaultgroup' => $dp->quoteStringLiteral($this->config['default']['group'][0]),
                        //Set locale
                        //XXX: or $manager->getConnection()->quote($this->locale) ???
                        ':locale' => $dp->quoteStringLiteral($this->locale),
                        //Set locale
                        //XXX: or $manager->getConnection()->quote($this->locale) ???
                        ':locale' => $dp->quoteStringLiteral($this->locale),