Browse Source

rename methods #15

main
ghost 1 year ago
parent
commit
c4f5409ffa
  1. 10
      src/app/controller/module/profile.php

10
src/app/controller/module/profile.php

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

Loading…
Cancel
Save