getSubmission(); $submissionDao = Application::getSubmissionDAO(); $publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO'); $publishedArticle = $publishedArticleDao->getByArticleId($submission->getId(), null, false); $isExistingEntry = $publishedArticle?true:false; if ($isExistingEntry) { // Update the search index for this published article. import('classes.search.ArticleSearchIndex'); ArticleSearchIndex::articleMetadataChanged($submission); } $submissionDao->updateObject($submission); } } ?>