Small cleanup

This commit is contained in:
buddh4 2020-02-03 15:23:59 +01:00
parent 9b56badc70
commit 33b68197b4
2 changed files with 5 additions and 1 deletions

View File

@ -1,11 +1,14 @@
<?php
use humhub\modules\admin\models\forms\DesignSettingsForm;
use humhub\modules\web\pwa\widgets\SiteIcon;
use humhub\widgets\Button;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
use humhub\compat\CHtml;
/* @var $model DesignSettingsForm */
\humhub\modules\admin\assets\AdminAsset::register($this);
$this->registerJsConfig('admin', [

View File

@ -317,7 +317,8 @@ abstract class Menu extends JsWidget
}
/**
* @deprecated since 1.4
* Deactivates an entry by given id or url search string.
* @param $searchStr menu entry id or url
*/
public function setInactive($searchStr)
{