diff --git a/mod/ping.php b/mod/ping.php index 1bbddbe5c3..1ef3cc5b47 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -190,8 +190,6 @@ function ping_init(App $a) FROM `contact` RIGHT JOIN `register` ON `register`.`uid` = `contact`.`uid` WHERE `contact`.`self` = 1"); - $register_count = 0; - if (dbm::is_result($regs)) { $register_count = $regs[0]['total']; }