aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ping.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-06 09:34:20 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-06 09:34:20 +0100
commit9cd715bbbf8b02fad21b1f4982c8de7c0e575154 (patch)
tree13abeed8bebf6725fb2efdf2400e5b1ca0b4d9e7 /Zotlabs/Module/Ping.php
parent04d66ba7f499e138baf322cd08f973eb6e3f73c9 (diff)
downloadvolse-hubzilla-9cd715bbbf8b02fad21b1f4982c8de7c0e575154.tar.gz
volse-hubzilla-9cd715bbbf8b02fad21b1f4982c8de7c0e575154.tar.bz2
volse-hubzilla-9cd715bbbf8b02fad21b1f4982c8de7c0e575154.zip
fix unable to mark all messages read
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r--Zotlabs/Module/Ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index 5e2d04c1f..3c6dda1e9 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -219,7 +219,7 @@ class Ping extends \Zotlabs\Web\Controller {
intval(local_channel())
);
break;
- case 'messages':
+ case 'mail':
$r = q("update mail set mail_seen = 1 where mail_seen = 0 and channel_id = %d ",
intval(local_channel())
);