Pārlūkot izejas kodu

Fix names of methods

Visman 3 gadi atpakaļ
vecāks
revīzija
36bd3791e6
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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) {
-            $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) {
-                $this->c->users->UpdateCountTopics(...$users);
+                $this->c->users->updateCountTopics(...$users);
             }
         } else {
             $this->c->topics->update($firstTopic->calcStat());