$notices->verb = ActivityVerb::POST;

This commit is contained in:
hannes 2016-01-05 23:29:48 +00:00
parent e10691abea
commit 32549cfd8c

View File

@ -824,7 +824,7 @@ class Profile extends Managed_DataObject
$notices = new Notice();
$notices->profile_id = $this->id;
$notices->whereAdd("verb = '".ActivityVerb::POST."'");
$notices->verb = ActivityVerb::POST;
$cnt = (int) $notices->count('distinct id');
if (!empty($c)) {