Skip to content

Commit

Permalink
Added dummy getTheme method to schematic application
Browse files Browse the repository at this point in the history
  • Loading branch information
bvangennep committed Oct 8, 2018
1 parent b7b85f7 commit 2d832c3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 3.8.10 ###
- Added dummy getTheme method to schematic application

### 3.8.9 ###
- Fixed assignUserGroup permission serialization bug

Expand Down
11 changes: 11 additions & 0 deletions src/Console/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,17 @@ public function isConsole()
return true;
}

/**
* Returns the target application theme.
*
* @return string
*/
public function getTheme()
{
return null;
}


/**
* Override getComponent() so we can attach any pending events if the component is getting initialized as well as
* do some special logic around creating the `Craft::app()->db` application component.
Expand Down

0 comments on commit 2d832c3

Please sign in to comment.