Skip to content

No throw when Mage_Admin_Model_User::delete fails #950

@midlan

Description

@midlan

https://github.com/OpenMage/magento-lts/blob/1.9.4.x/app/code/core/Mage/Admin/Model/Resource/User.php#L219

inside this catch is not thrown any error, so user is not deleted and you get green message:

The user has been deleted.

But the user still remains in database and also can login. It return false but the return value is ignored in controller: \Mage_Adminhtml_Permissions_UserController::deleteAction

It is bug or it is there for some purpose?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions