]> git.mxchange.org Git - friendica.git/blobdiff - mod/ping.php
Merge pull request #2967 from Hypolite/issue/#2955
[friendica.git] / mod / ping.php
index 60b5017b48dc6c2eac8801a1dcbb20e55edc2b4f..6f612303fb0ba9cceed3c26875af867106437790 100644 (file)
@@ -50,6 +50,7 @@ function ping_init(&$a) {
 
                $home_count = 0;
                $network_count = 0;
+               $register_count = 0;
                $groups_unseen = array();
                $forums_unseen = array();
 
@@ -132,8 +133,6 @@ function ping_init(&$a) {
                        if ($regs) {
                                $register_count = $regs[0]['total'];
                        }
-               } else {
-                       $register_count = 0;
                }
 
                $all_events = 0;