Problem description: When a user opens details of any module from the list in Administration => General => Modules and presses Update button, the successful update message states that the module was Enabled or Disabled, depending on the status of the module, even though no such action was made. This may may lead to a confusion that the module status changed.
Steps to reproduce:
- Make sure that You have a working module located in /ui/modules/
- Navigate to Administration => General => Modules
- If there are no modules in the displayed, press "Scan directory" button to discover the module from step 1.
- Click on the module name
- In the opened module details view click "Update" button without changing the status of the module.
Result: The following message is observed: Module disabled: <Your module name>.
Expected: Because the status of the module wasn't changed, the message should state that module was updated, for example: Module updated: 1st Module name.