[livejournal] r22528: LJSUP-12425: Log mass deletion of inbox ...
Committer: sbelyaev
LJSUP-12425: Log mass deletion of inbox messages to userlogU trunk/htdocs/inbox/index.bml U trunk/htdocs/tools/endpoints/esn_inbox.bml
Modified: trunk/htdocs/inbox/index.bml
===================================================================
--- trunk/htdocs/inbox/index.bml 2012-07-31 10:55:49 UTC (rev 22527)
+++ trunk/htdocs/inbox/index.bml 2012-07-31 11:15:12 UTC (rev 22528)
@@ -115,7 +115,7 @@
remote => $remote,
actiontarget => scalar @$nitems,
method => 'delete',
- view => $view,
+ view => $view || '(all)',
via => 'web', });
}
Modified: trunk/htdocs/tools/endpoints/esn_inbox.bml
===================================================================
--- trunk/htdocs/tools/endpoints/esn_inbox.bml 2012-07-31 10:55:49 UTC (rev 22527)
+++ trunk/htdocs/tools/endpoints/esn_inbox.bml 2012-07-31 11:15:12 UTC (rev 22528)
@@ -73,7 +73,7 @@
}
}
- if (scalar @items >= 15) {
+ if (scalar @items > 1) {
$remote->log_event('inbox_massdel', {
remote => $remote,
actiontarget => scalar @items,
