forked from GNUsocial/gnu-social
remove 'has forwarded' method from Profile
This commit is contained in:
parent
344c99df02
commit
433106dfc5
@ -716,12 +716,4 @@ class Profile extends Memcached_DataObject
|
|||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function hasForwarded($notice_id)
|
|
||||||
{
|
|
||||||
$forward = Forward::pkeyGet(array('profile_id' => $this->id,
|
|
||||||
'notice_id' => $notice_id));
|
|
||||||
|
|
||||||
return (!empty($forward));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user