git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit d6725471 authored by mmn's avatar mmn

getAliases should be only a list (numeric array)

parent e16f7d04
......@@ -419,6 +419,11 @@ abstract class Managed_DataObject extends Memcached_DataObject
* in Profile and Notice classes.
*/
public function getAliases()
{
return array_keys($this->getAliasesWithIDs());
}
public function getAliasesWithIDs()
{
$aliases = array();
$aliases[$this->getUri()] = $this->getID();
......
......@@ -31,7 +31,7 @@ abstract class WebFingerResource
public function getAliases()
{
$aliases = $this->object->getAliases();
$aliases = $this->object->getAliasesWithIDs();
// Some sites have changed from http to https and still want
// (because remote sites look for it) verify that they are still
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment