Skip to content

Commit d30f114

Browse files
satyamakgecmaxsam4
authored andcommitted
remove unnecessary modifiers (#685)
1 parent 66879f5 commit d30f114

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

contracts/modules/Module.sol

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ contract Module is IModule, ModuleStorage, Pausable {
4545
_;
4646
}
4747

48-
modifier onlyFactoryOwner() {
49-
require(msg.sender == Ownable(factory).owner(), "Sender is not factory owner");
50-
_;
51-
}
52-
53-
modifier onlyFactoryOrOwner() {
54-
require((msg.sender == Ownable(securityToken).owner()) || (msg.sender == factory), "Sender is not factory or owner");
55-
_;
56-
}
57-
5848
/**
5949
* @notice Pause (overridden function)
6050
*/
@@ -63,7 +53,7 @@ contract Module is IModule, ModuleStorage, Pausable {
6353
super._pause();
6454
}
6555

66-
/**
56+
/**
6757
* @notice Unpause (overridden function)
6858
*/
6959
function unpause() public {

0 commit comments

Comments
 (0)