Skip to content

Commit

Permalink
#2342 remove wrong function parameter documenation and remove a notif…
Browse files Browse the repository at this point in the history
…ication till a solution for better display is found
  • Loading branch information
bozana committed Mar 9, 2017
1 parent fbb7c32 commit a03231d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions classes/plugins/PKPPubIdPlugin.inc.php
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit a03231d

Please sign in to comment.