Skip to content

Commit

Permalink
remove unnecessary modifiers (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamakgec authored and maxsam4 committed May 31, 2019
1 parent 66879f5 commit d30f114
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions contracts/modules/Module.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ contract Module is IModule, ModuleStorage, Pausable {
_;
}

modifier onlyFactoryOwner() {
require(msg.sender == Ownable(factory).owner(), "Sender is not factory owner");
_;
}

modifier onlyFactoryOrOwner() {
require((msg.sender == Ownable(securityToken).owner()) || (msg.sender == factory), "Sender is not factory or owner");
_;
}

/**
* @notice Pause (overridden function)
*/
Expand All @@ -63,7 +53,7 @@ contract Module is IModule, ModuleStorage, Pausable {
super._pause();
}

/**
/**
* @notice Unpause (overridden function)
*/
function unpause() public {
Expand Down

0 comments on commit d30f114

Please sign in to comment.