Selaa lähdekoodia

Remove the time limit for recalculating the number of messages and topics

Visman 1 vuosi sitten
vanhempi
commit
257658ca5f
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      app/Models/Pages/Admin/Users/View.php

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

@@ -439,6 +439,10 @@ class View extends Users
             );
         }
 
+        if (\function_exists('\\set_time_limit')) {
+            \set_time_limit(0);
+        }
+
         $this->c->users->updateCountPosts();
         $this->c->users->updateCountTopics();