From 0bb5199728a9a0fee941359a26a859a80d53340e Mon Sep 17 00:00:00 2001 From: Uldis Nelsons Date: Tue, 16 Mar 2021 15:36:40 +0200 Subject: [PATCH] Update D3Files.php --- components/D3Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/D3Files.php b/components/D3Files.php index 3a73bac..ea4946d 100755 --- a/components/D3Files.php +++ b/components/D3Files.php @@ -232,7 +232,7 @@ public static function copyFilesBetweenModels(ActiveRecord $modelFrom, ActiveRec /** * @return mixed|object|null */ - public function isNotesEnabled() + public static function isNotesEnabled() { return Yii::$app->getModule('d3files')->enableNotes; }