Browse Source

Fix names of methods

Visman 3 years ago
parent
commit
36bd3791e6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/Models/Topic/Delete.php
  2. 1 1
      app/Models/Topic/Merge.php

+ 1 - 1
app/Models/Topic/Delete.php

@@ -179,7 +179,7 @@ class Delete extends Action
         }
         }
 
 
         if ($uidsUpdate) {
         if ($uidsUpdate) {
-            $this->c->users->UpdateCountTopics(...$uidsUpdate);
+            $this->c->users->updateCountTopics(...$uidsUpdate);
         }
         }
     }
     }
 }
 }

+ 1 - 1
app/Models/Topic/Merge.php

@@ -104,7 +104,7 @@ class Merge extends Action
             }
             }
 
 
             if ($users) {
             if ($users) {
-                $this->c->users->UpdateCountTopics(...$users);
+                $this->c->users->updateCountTopics(...$users);
             }
             }
         } else {
         } else {
             $this->c->topics->update($firstTopic->calcStat());
             $this->c->topics->update($firstTopic->calcStat());