Quellcode durchsuchen

Add topics to recalculate posts

Visman vor 2 Jahren
Ursprung
Commit
dacb8a3191

+ 1 - 0
app/Models/Pages/Admin/Users/View.php

@@ -436,6 +436,7 @@ class View extends Users
         }
 
         $this->c->users->updateCountPosts();
+        $this->c->users->updateCountTopics();
 
         return $this->c->Redirect->page('AdminUsers')->message('Updated the number of users posts redirect', FORK_MESS_SUCC);
     }

+ 2 - 2
app/lang/en/admin_users.po

@@ -271,7 +271,7 @@ msgid "Recalculate"
 msgstr "Recalculate"
 
 msgid "Recalculate head"
-msgstr "Recalculation of the number of users posts"
+msgstr "Recalculation of the number of users posts and topics"
 
 msgid "Number of users posts"
-msgstr "Number of users posts"
+msgstr "Number of users posts and topics"

+ 2 - 2
app/lang/ru/admin_users.po

@@ -271,7 +271,7 @@ msgid "Recalculate"
 msgstr "Пересчитать"
 
 msgid "Recalculate head"
-msgstr "Пересчет количества сообщений пользователей"
+msgstr "Пересчет количества сообщений и тем пользователей"
 
 msgid "Number of users posts"
-msgstr "Количество сообщений пользователей"
+msgstr "Количество сообщений и тем пользователей"