From 39dea0acfda294de1543f339da6958db2cf57ab1 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Thu, 4 Apr 2024 14:28:08 +0200 Subject: [PATCH] Updated Migrate Notes --- MIGRATE-DEV.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MIGRATE-DEV.md b/MIGRATE-DEV.md index 04f07c9b6b..9cfe799e98 100644 --- a/MIGRATE-DEV.md +++ b/MIGRATE-DEV.md @@ -15,7 +15,8 @@ At least PHP 8.0 is required with this version. ### Behaviour change - New Meta Search API - Controller route change: `/search/mentioning` -> `/user/mentioning` -- `Yii::$app->search()` is not longer available. See Content/User/Spaces search for alternatives. +- `Yii::$app->search()` component is not longer available. + - Use `(new ContentSearchService($exampleContent->content))->update();` instead of `Yii::$app->search->update($exampleContent);` ### Deprecations - `\humhub\components\Module::getIsActivated()` use `getIsEnabled()` instead