Permalink
Browse files

Merge pull request #365 from planetenkiller/fixes_master_branch

small bugfixes master branch
  • Loading branch information...
2 parents b22d644 + 84d2d53 commit 9101aeaf8443b7b39853304534c817c4b0196cac Drak committed Apr 22, 2012
@@ -18,7 +18,7 @@
/**
* Exception class.
*/
-class RuntimeException extends \RumtimeException
+class RuntimeException extends \RuntimeException
{
/**
* Debug value.
@@ -22,7 +22,7 @@
* We use annotations to define the entity mappings to database (see http://www.doctrine-project.org/docs/orm/2.1/en/reference/basic-mapping.html).
*
* @ORM\Entity
- * @ORM\Table(name="group_membership",indexes={@ORM\index(name="gid_uid",columns={"uid","gid"})})
+ * @ORM\Table(name="group_membership",indexes={@ORM\Index(name="gid_uid",columns={"uid","gid"})})
*/
class GroupMembership extends EntityAccess
{
@@ -193,7 +193,7 @@ public function validateAuthenticationInformationAction(array $args)
if (!is_array($authenticationMethod) || empty($authenticationMethod) || !isset($authenticationMethod['modname'])) {
throw new \Zikula\Framework\Exception\FatalException($this->__('The authentication module name was not specified during an attempt to validate user authentication information.'));
- } elseif ($authenticationMethod['modname'] != 'Users') {
+ } elseif ($authenticationMethod['modname'] != 'UsersModule') {
throw new \Zikula\Framework\Exception\FatalException($this->__f('Attempt to validate authentication information with incorrect authentication module. Credentials should be validated with the \'%1$s\' module instead.', array($authenticationMethod['modname'])));
}

0 comments on commit 9101aea

Please sign in to comment.