/** * Remvoes an object from the site. * * @param int $object_guid GUID * * @return bool */ public function removeObject($object_guid) { return remove_site_object($this->getGUID(), $object_guid); }
/** * Remvoes an object from the site. * * @param int $object_guid GUID * * @return bool * @deprecated 1.9 Use \ElggSite::removeEntity() */ public function removeObject($object_guid) { elgg_deprecated_notice('\\ElggSite::removeObject() is deprecated. Use \\ElggEntity::removeEntity()', 1.9); return remove_site_object($this->getGUID(), $object_guid); }