Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mikspark committed Nov 2, 2016
1 parent 11dc088 commit 027b06a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions protected/modules/notify/NotifyModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ public function getDependencies()
{
return [
'mail',
'user',
];
}

/**
* @return bool
*/
public function getIsNoDisable()
{
return true;
}

/**
*
*/
Expand Down
10 changes: 0 additions & 10 deletions protected/modules/user/UserModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,6 @@ class UserModule extends WebModule
*/
private $defaultAvatar;

/**
* @return array
*/
public function getDependencies()
{
return [
'notify',
];
}

/**
* @return string
*/
Expand Down

0 comments on commit 027b06a

Please sign in to comment.