[OStatus] Add script for profile deduplication and URI fixing

This commit is contained in:
tenma
2019-10-24 02:08:54 +01:00
committed by Diogo Peralta Cordeiro
parent 6a37c21ead
commit 3fb78ab108
4 changed files with 244 additions and 0 deletions

View File

@@ -80,6 +80,17 @@ class Ostatus_profile extends Managed_DataObject
return $this->uri;
}
/**
* Getter for profile_id property
*
* @return int
* @author Bruno Casteleiro <brunoccast@fc.up.pt>
*/
public function getID()
{
return $this->profile_id;
}
public function getFeedSub()
{
return FeedSub::getByUri($this->feeduri);