We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 20 months ago

#3372 closed Defect (fixed)

deprecated methods in plugins

Reported by: vazco Owned by:
Priority: normal Milestone: Elgg 1.7.12
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brett@… Difficulty: easy

Description

There are a few deprecated methods in plugins in current repository, eg. list_entities_from_metadata or list_entities_from_relationship, list_user_search. They're in plugins: profile, members, groups, file, categories.

You're probably aware of this, I report this "just in case".

Change History (8)

comment:1 Changed 2 years ago by ewinslow

I was not personally aware of them, so thanks for reporting!

comment:2 Changed 2 years ago by ewinslow

  • Milestone changed from Needs Review to Elgg 1.8
  • Version changed from 1.8 Beta to SVN Trunk

comment:3 Changed 2 years ago by brettp

  • Difficulty set to moderate
  • Milestone changed from Elgg 1.8 to Elgg 1.7.8
  • Version changed from SVN Trunk to 1.7

These look like they're only in the 1.7 branch.

comment:4 Changed 20 months ago by ewinslow

  • Milestone changed from Elgg 1.7.8 to Needs Review

Is this resolved?

comment:5 Changed 20 months ago by cash

  • Difficulty changed from moderate to easy
  • Milestone changed from Needs Review to Elgg 1.7.12

From 1.7:

  • list_entities_from_metadata() used by list_entities_location() - core function
  • list_entities_from_relationship() is used in core and several plugins
  • list_user_search() is used by members plugin

I didn't check 1.8 but they would have flashed error messages if they were in that version.

comment:6 Changed 20 months ago by cash

list_entities_from_relationship() was not deprecated until 1.8.0

comment:7 Changed 20 months ago by cash

Same for list_entities_from_metadata()

comment:8 Changed 20 months ago by cash

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

Fixes #3372 removed use of deprecated list_user_search()

Changeset: 14883657b6b3d7c417ae8dec14bfe9d90efde664

Note: See TracTickets for help on using tickets.