We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

#1910 closed Defect (fixed)

Calls to deprecated entity methods

Reported by: kmmc Owned by:
Priority: low Milestone: Elgg 1.7
Component: Version:
Severity: minor Keywords:
Cc: brettp Difficulty:

Description

There are several calls to the recently deprecated get_entities, list_entities, get_entities_from_annotations, get_entities_from_metadata, get_entities_from_relationship and extend_view methods. If debug mode is enabled these method calls produce warning messages.

The attached patch covers all plugins distributed in the 1.7 beta release.

This ticket should replace the plugin specific tickets 338, 340 & 341.

Attachments (1)

plugins.patch (38.7 KB) - added by kmmc 3 years ago.
Patch file with updated method calls for plugins provided 1.7 beta release

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by kmmc

Patch file with updated method calls for plugins provided 1.7 beta release

comment:1 Changed 3 years ago by brettp

Thanks for the patches. I'm holding off pulling this in until http://trac.elgg.org/elgg/ticket/1499 is resolved.

comment:2 Changed 3 years ago by brettp

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:1239]) Fixes #342: Removed calls to deprecated functions in plugins.

Note: See TracTickets for help on using tickets.