Skip to content

Commit

Permalink
pkp/pkp-lib#10292 vocab assoc id nullable and setting anme update for…
Browse files Browse the repository at this point in the history
…m symbolic to name
  • Loading branch information
touhidurabir committed Dec 20, 2024
1 parent 1092b70 commit a8be88c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<migration class="PKP\migration\upgrade\v3_5_0\I9707_WeblateUILocales"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10738_RemoveInvalidUserGroups"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_RemoveControlledVocabEntrySettingType"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabAssocId"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabEntrySettingName"/>
</upgrade>

<!-- Update plugin configuration - should be done as the final upgrade task -->
Expand Down
5 changes: 3 additions & 2 deletions tools/cleanReviewerInterests.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* @brief CLI tool to remove user interests that are not referenced by any user accounts.
*/

use APP\core\Application;
use APP\facades\Repo;
use Illuminate\Support\Collection;
use PKP\cliTool\CommandLineTool;
Expand Down Expand Up @@ -91,8 +92,8 @@ protected function _getOrphanVocabInterests(): Collection
{
$controlledVocab = Repo::controlledVocab()->build(
UserInterest::CONTROLLED_VOCAB_INTEREST,
UserInterest::CONTROLLED_VOCAB_INTEREST_ASSOC_TYPE,
UserInterest::CONTROLLED_VOCAB_INTEREST_ASSOC_ID
Application::ASSOC_TYPE_SITE,
Application::SITE_CONTEXT_ID,
);

return ControlledVocabEntry::query()
Expand Down

0 comments on commit a8be88c

Please sign in to comment.