]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
$notices->verb = ActivityVerb::POST;
authorhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 23:29:48 +0000 (23:29 +0000)
committerhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 23:29:48 +0000 (23:29 +0000)
classes/Profile.php

index 65758f3e3615a21ce9ee9ad1d8a50f72510209c4..620772b0a409178dfd55e59b8c5d797eb20907cf 100644 (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)) {