Call it compareVerbs when comparing verbs

This commit is contained in:
Mikael Nordfeldth
2015-09-10 15:27:40 +02:00
parent 404d5781fc
commit 9ad9b91efb
5 changed files with 15 additions and 10 deletions

View File

@@ -348,7 +348,7 @@ class ActivityUtils
return null;
}
static function compareTypes($type, $objects) // this does verbs too!
static function compareTypes($type, $objects)
{
$type = self::resolveUri($type);
foreach ((array)$objects as $object) {
@@ -359,6 +359,11 @@ class ActivityUtils
return false;
}
static function compareVerbs($type, $objects)
{
return self::compareTypes($type, $objects);
}
static function resolveUri($uri, $make_relative=false)
{
if (empty($uri)) {