@@ -199,6 +199,11 @@ |
||
199 | 199 | return new DataResponse(); |
200 | 200 | } |
201 | 201 | |
202 | + /** |
|
203 | + * @param string $type |
|
204 | + * @param string $path |
|
205 | + * @param string|null $path2 |
|
206 | + */ |
|
202 | 207 | protected function getSubject($type, $path, $path2) { |
203 | 208 | switch ($type) { |
204 | 209 | case 'Create': |
@@ -221,6 +221,10 @@ |
||
221 | 221 | } |
222 | 222 | } |
223 | 223 | |
224 | + /** |
|
225 | + * @param integer $time |
|
226 | + * @param string|null $actor |
|
227 | + */ |
|
224 | 228 | protected function generateRemoteActivity(array $remoteUsers, $type, $time, $actor, $ownerPath = false) { |
225 | 229 | foreach ($remoteUsers as $remoteUser => $info) { |
226 | 230 | if ($actor === $remoteUser) { |