rename methods #15

This commit is contained in:
ghost 2023-09-23 21:31:43 +03:00
parent cbf0902677
commit c4f5409ffa

View File

@ -13,11 +13,11 @@ class AppControllerModuleProfile
{
$route = isset($_GET['_route_']) ? (string) $_GET['_route_'] : '';
$stars = $this->_user->getUserPageStarsTotal();
$views = $this->_user->getUserPageViewsTotal();
$downloads = $this->_user->getUserPageDownloadsTotal();
$comments = $this->_user->getUserPageCommentsTotal();
$editions = $this->_user->getUserPageEditionsTotal();
$stars = $this->_user->findUserPageStarsDistinctTotalByValue(true);
$views = $this->_user->findUserPageViewsDistinctTotal();
$downloads = $this->_user->findUserPageDownloadsDistinctTotal();
$comments = $this->_user->findUserPageCommentsDistinctTotal();
$editions = $this->_user->findUserPageEditionsDistinctTotal();
include __DIR__ . '../../../view/theme/default/module/profile.phtml';
}