From 68d9d423e92195fb84c9db065efe7688e96e021f Mon Sep 17 00:00:00 2001 From: Matthieu Guillaumin Date: Sun, 4 May 2014 19:54:13 +0200 Subject: [PATCH] removed getVeryCompactedAuthors --- bibtexbrowser.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 1bad98e..04b56dd 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1301,17 +1301,6 @@ class BibEntry { return $this->formatAuthor($authors[0]) . $etal; } - /** - * Returns a compacted string form of author names by throwing away - * all author names except for the first one and appending ", et al." - */ - function getVeryCompactedAuthors(){ - $authors = $this->getRawAuthors(); - $etal = count($authors) > 1 ? ', et al.' : ''; - list($firstname, $lastname) = splitFullName($authors[0]); - return $lastname . $etal; - } - /** add the link to the homepage if it is defined in a string * e.g. @string{hp_MartinMonperrus="http://www.monperrus.net/martin"} * The string is a concatenation of firstname, lastname, prefixed by hp_