Removed unused variables

This commit is contained in:
Sebastian Meyer 2021-01-25 18:08:34 +01:00 committed by GitHub
parent 857f14faf5
commit ae1c4baa20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -56,13 +56,8 @@ class SolrCoreStatus extends AbstractNode
$dateTimeFrom = new \DateTime('@0');
$dateTimeTo = new \DateTime("@$uptimeInSeconds");
$uptime = $dateTimeFrom->diff($dateTimeTo)->format('%a ' . $GLOBALS['LANG']->getLL('flash.days') . ', %H:%I:%S');
$numDocuments = $response->getNumberOfDocuments();
$startTime = $response->getStartTime() ? strftime('%c', $response->getStartTime()->getTimestamp()) : 'N/A';
$startTimeTimestamp = $response->getStartTime()->getTimestamp();
$lastModifiedTimestamp = $response->getLastModified()->getTimestamp();
$lastModified = $response->getLastModified() ? strftime('%c', $response->getLastModified()->getTimestamp()) : 'N/A';
// Create flash message.
Helper::addMessage(