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 <mario@mariovavti.com>2017-11-06 09:35:25 +0100
commit4be48b8d8b9856fb7f687999a00f218fb164760a (patch)
tree749f86b157e8d1b8b505dc099e3181cf53bcfda0 /Zotlabs/Module/Ping.php
parent6e48c365191e750941b5a9839ba9940242c9f313 (diff)
downloadvolse-hubzilla-4be48b8d8b9856fb7f687999a00f218fb164760a.tar.gz
volse-hubzilla-4be48b8d8b9856fb7f687999a00f218fb164760a.tar.bz2
volse-hubzilla-4be48b8d8b9856fb7f687999a00f218fb164760a.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 c91659f2f..cda42f426 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -221,7 +221,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())
);