Skip to content

Commit

Permalink
Fix some deprecation comments. (vufind-org#3883)
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala authored Aug 26, 2024
1 parent 126801d commit 17f9277
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions module/VuFind/src/VuFind/Db/Row/UserList.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
use VuFind\Db\Service\DbServiceAwareTrait;
use VuFind\Db\Service\ResourceServiceInterface;
use VuFind\Db\Service\ResourceTagsServiceInterface;
use VuFind\Db\Service\TagServiceInterface;
use VuFind\Db\Service\UserServiceInterface;
use VuFind\Exception\ListPermission as ListPermissionException;
use VuFind\Tags\TagsService;
Expand Down Expand Up @@ -115,7 +114,7 @@ public function getResourceTags()
*
* @return array
*
* @deprecated Use TagServiceInterface::getListTags()
* @deprecated Use \VuFind\Db\Service\TagServiceInterface::getListTags()
*/
public function getListTags()
{
Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Db/Table/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function findResource(
*
* @return ResourceEntityInterface[]
*
* @deprecated Use \VuFind\Db\Service\ResourceServiceInterface::getResourcesByRecordIds()
* @deprecated Use ResourceServiceInterface::getResourcesByRecordIds()
*/
public function findResources($ids, $source = DEFAULT_SEARCH_BACKEND)
{
Expand Down Expand Up @@ -211,7 +211,7 @@ function ($s) use ($user, $list, $tags, $sort, $offset, $limit, $caseSensitiveTa
*
* @return ResourceEntityInterface[]
*
* @deprecated Use \VuFind\Db\Service\ResourceServiceInterface::findMissingMetadata()
* @deprecated Use ResourceServiceInterface::findMissingMetadata()
*/
public function findMissingMetadata()
{
Expand Down
8 changes: 4 additions & 4 deletions module/VuFind/src/VuFind/Db/Table/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function onPreInit($event)
*
* @return void
*
* @deprecated Use SessionServiceInterface::destroySession()
* @deprecated Use SearchServiceInterface::destroySession()
*/
public function destroySession($sid, $uid = null)
{
Expand All @@ -147,7 +147,7 @@ public function destroySession($sid, $uid = null)
*
* @return array Matching SearchEntry objects.
*
* @deprecated Use SessionServiceInterface::getSearches()
* @deprecated Use SearchServiceInterface::getSearches()
*/
public function getSearches($sid, $uid = null)
{
Expand Down Expand Up @@ -185,7 +185,7 @@ public function getRowById($id, $exceptionIfMissing = true)
*
* @return ?\VuFind\Db\Row\Search
*
* @deprecated Use SessionServiceInterface::getSearchByIdAndOwner()
* @deprecated Use SearchServiceInterface::getSearchByIdAndOwner()
*/
public function getOwnedRowById($id, $sessId, $userId)
{
Expand All @@ -197,7 +197,7 @@ public function getOwnedRowById($id, $sessId, $userId)
*
* @return array Array of VuFind\Db\Row\Search objects.
*
* @deprecated Use SessionServiceInterface::getScheduledSearches()
* @deprecated Use SearchServiceInterface::getScheduledSearches()
*/
public function getScheduledSearches()
{
Expand Down

0 comments on commit 17f9277

Please sign in to comment.