diff --git a/classes/plugins/PKPPubIdPlugin.inc.php b/classes/plugins/PKPPubIdPlugin.inc.php index e1868609694..b0a09792a74 100644 --- a/classes/plugins/PKPPubIdPlugin.inc.php +++ b/classes/plugins/PKPPubIdPlugin.inc.php @@ -95,7 +95,6 @@ function manage($args, $request) { if (!$request->checkCSRF()) return new JSONMessage(false); $contextDao = Application::getContextDAO(); $contextDao->deleteAllPubIds($context->getId(), $this->getPubIdType()); - $notificationManager->createTrivialNotification($user->getId(), NOTIFICATION_TYPE_SUCCESS); return new JSONMessage(true); default: $form->initData(); @@ -408,10 +407,6 @@ function getPubObjectType($pubObject) { * Set and store a public identifier. * @param $pubObject object * @param $pubId string - * @return string - * - * This function is currently only used in the pubId import/export plugin. - * After the migration of that plugin, check if this function is still needed. */ function setStoredPubId(&$pubObject, $pubId) { $dao = $pubObject->getDAO();