Small cleanup

This commit is contained in:
buddh4 2019-04-05 15:50:34 +02:00
parent ad11a6a691
commit 9ccdf716e9
5 changed files with 8 additions and 3 deletions

View File

@ -6,6 +6,7 @@ HumHub Change Log
- Enh: Added HomeUrl support to ConsoleApplication
- Fix: #2536 Incorrect log of "Attempt to steal file" due to faulty File::isAssignedTo() check
- Fix: Wrong help block position in admin basic settings
- Chng: Removed yiisoft/yii2-apidoc dependency
1.3.12 (March 26, 2019)

View File

@ -216,6 +216,7 @@ class Content extends ContentDeprecated implements Movable, ContentOwner
/**
* @return bool checks if the given content allows content creation notifications and activities
* @throws IntegrityException
*/
private function isMuted()
{

View File

@ -116,7 +116,7 @@ humhub.module('stream.StreamRequest', function (module, require, $) {
if(this.options.data) {
$.each(this.options.data, function(key, value) {
data[this.buildRequestDataKey(key)] = value;
})
});
}
$.each(this.stream.filter.getFilterMap(), function(key, value) {

View File

@ -7,6 +7,7 @@
namespace stream\acceptance;
use humhub\modules\content\models\Content;
use stream\AcceptanceTester;
class StreamCest
@ -56,6 +57,7 @@ class StreamCest
$newEntrySelector = '[data-content-key="14"]';
$I->waitForElementVisible($newEntrySelector);
$I->see('This is my stream test post', '.wall-entry');

View File

@ -3,7 +3,7 @@
namespace humhub\modules\user\widgets;
use humhub\modules\user\models\User;
use humhub\widgets\BasePickerField;
use humhub\modules\ui\form\widgets\BasePicker;
use Yii;
use yii\helpers\Html;
use yii\helpers\Url;
@ -14,7 +14,7 @@ use yii\helpers\Url;
* @since 1.2
* @author buddha
*/
class UserPickerField extends BasePickerField
class UserPickerField extends BasePicker
{
/**
* @inheritdoc
@ -41,6 +41,7 @@ class UserPickerField extends BasePickerField
if (empty($this->itemKey)) {
$this->itemKey = 'guid';
}
parent::init();
}
/**