Browse Source

removes useless code that hinders understandability

pull/16/head
Martin Monperrus 11 years ago
parent
commit
ed120ab4cf
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

@ -1230,7 +1230,7 @@ class BibEntry {
* Returns a compacted string form of author names by throwing away * Returns a compacted string form of author names by throwing away
* all author names except for the first one and appending ", et al." * all author names except for the first one and appending ", et al."
*/ */
function getCompactedAuthors($author){
function getCompactedAuthors(){
$authors = $this->getRawAuthors(); $authors = $this->getRawAuthors();
$etal = count($authors) > 1 ? ', et al.' : ''; $etal = count($authors) > 1 ? ', et al.' : '';
return $this->formatAuthor($authors[0]) . $etal; return $this->formatAuthor($authors[0]) . $etal;

Loading…
Cancel
Save