Skip to content

Commit

Permalink
pkp/pkp-lib#6091 Remove use of import function
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Aug 18, 2022
1 parent 7f62337 commit 5a2e3d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CitationStyleLanguagePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ public function getCitation($request, $submission, $citationStyle = 'apa', $issu
$issue ??= Repo::issue()->get($publication->getData('issueId'));
}

import('lib.pkp.classes.core.PKPString');

$citationData = new stdClass();
$citationData->type = ($this->applicationName == 'ojs2' ? 'article-journal' : 'article');
$citationData->id = $submission->getId();
Expand Down

0 comments on commit 5a2e3d3

Please sign in to comment.