From ed120ab4cfb8b3814e8f100189aa3dbb01e53708 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Tue, 1 Apr 2014 18:30:51 +0200 Subject: [PATCH] removes useless code that hinders understandability --- bibtexbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index bd9adf0..e4a1e95 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1230,7 +1230,7 @@ class BibEntry { * Returns a compacted string form of author names by throwing away * all author names except for the first one and appending ", et al." */ - function getCompactedAuthors($author){ + function getCompactedAuthors(){ $authors = $this->getRawAuthors(); $etal = count($authors) > 1 ? ', et al.' : ''; return $this->formatAuthor($authors[0]) . $etal;