Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #24 from GreenMeteor/dev
Browse files Browse the repository at this point in the history
Merge dev & master
  • Loading branch information
Felli authored Aug 30, 2018
2 parents 96094eb + 214eed5 commit 68bf47a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/Assets.php → Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Assets extends AssetBundle

public function init()
{
$this->sourcePath = dirname(__FILE__) . '/../resources';
$this->sourcePath = dirname(__FILE__) . '/resources';
parent::init();
}
}
5 changes: 3 additions & 2 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

use Yii;
use yii\helpers\Url;
use humhub\components\Module;

class Module extends Module
class Module extends \humhub\components\Module
{

public $resourcesPath = 'resources';

/**
* @inheritdoc
*/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [HumHub](https://www.humhub.org/en) Discord Module

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/badges/build.png?b=master)](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/build-status/master) [![CLA assistant](https://cla-assistant.io/readme/badge/GreenMeteor/humhub-discordapp-module)](https://cla-assistant.io/GreenMeteor/humhub-discordapp-module)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/GreenMeteor/humhub-discordapp-module/?branch=master) [![CLA assistant](https://cla-assistant.io/readme/badge/GreenMeteor/humhub-discordapp-module)](https://cla-assistant.io/GreenMeteor/humhub-discordapp-module)

Adds a sidebar widget to the Dashboard.

Expand Down
3 changes: 3 additions & 0 deletions docs/CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelogs

### Discord App Module v1.2.6 [Stable] (TBA)
- Chg: className() to class
- Chg: Class cleaning
- Chg: Moved images to resources
- Chg: Update to coding standards

### Discord App Module v1.2.5 [Stable] (Aug 8, 2018)
- Chg: Object class to BaseObject class
Expand Down
4 changes: 1 addition & 3 deletions widgets/DiscordappFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace humhub\modules\discordapp\widgets;

use Yii;
use yii\helpers\Url;
use humhub\libs\Html;
use humhub\components\Widget;
use yii\base\Widget;

/**
*
Expand Down
4 changes: 1 addition & 3 deletions widgets/views/discordappframe.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?php

use yii\helpers\Url;
use humhub\libs\Html;
use humhub\models\Setting;
use humhub\widgets\PanelMenu;

\humhub\modules\discordapp\assets\Assets::register($this);
\humhub\modules\discordapp\Assets::register($this);
?>

<div class="panel panel-default panel-discordapp" id="panel-discordapp">
Expand Down

0 comments on commit 68bf47a

Please sign in to comment.