v10 make migration from v9 less painful WRT IScope (#12293)

* Restore IEventDispatcher

* Fix breaking changes WRT IScopeProvider and IScope

* Update internal usage.

* Update src/Umbraco.Core/Services/UserService.cs

* Better obsolete message

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
This commit is contained in:
Paul Johnson
2022-04-26 10:22:37 +01:00
committed by GitHub
parent ef128f9fab
commit 95aa143db0
157 changed files with 2016 additions and 912 deletions

View File

@@ -698,7 +698,7 @@ AND cmsContentNu.nodeId IS NULL
}
}
public ContentNodeKit GetMediaSource(IDatabaseScope scope, int id)
public ContentNodeKit GetMediaSource(Scoping.IScope scope, int id)
{
var sql = SqlMediaSourcesSelect()
.Append(SqlObjectTypeNotTrashed(SqlContext, Constants.ObjectTypes.Media))