Skip to content

Commit

Permalink
Remove unused (deprecated) function
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Apr 9, 2020
1 parent 6086dcd commit 79acdaf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions classes/search/ArticleSearchIndex.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ public function submissionMetadataChanged($submission) {
// FIXME Index sponsors too?
}

/**
* @copydoc SubmissionSearchIndex::submissionMetadataChanged()
*/
public function articleMetadataChanged($article) {
if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated call to articleMetadataChanged. Use submissionMetadataChanged instead.');
$this->submissionMetadataChanged($article);
}

/**
* Delete keywords from the search index.
* @param $articleId int
Expand Down

0 comments on commit 79acdaf

Please sign in to comment.