Skip to content

Commit

Permalink
Merge pull request zikula#365 from planetenkiller/fixes_master_branch
Browse files Browse the repository at this point in the history
small bugfixes master branch
  • Loading branch information
Drak committed Apr 22, 2012
2 parents b22d644 + 84d2d53 commit 9101aea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Zikula/Framework/Exception/RuntimeException.php
Expand Up @@ -18,7 +18,7 @@
/**
* Exception class.
*/
class RuntimeException extends \RumtimeException
class RuntimeException extends \RuntimeException
{
/**
* Debug value.
Expand Down
2 changes: 1 addition & 1 deletion web/system/GroupsModule/Entity/GroupMembership.php
Expand Up @@ -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
{
Expand Down
Expand Up @@ -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'])));
}

Expand Down

0 comments on commit 9101aea

Please sign in to comment.