Task #4923

GLPI 0.84 compatibility

Added by CDuv over 5 years ago. Updated over 5 years ago.

Status:FeedbackStart date:05/26/2014
Priority:NormalDue date:
Assignee:CDuv% Done:

100%

Category:-
Target version:1.6.4

Description

Update plugin to make it compatible with GLPI 0.84.

See Fr_Plugin083to084 for changes occured in GLPI between 0.83 and 0.84.

Associated revisions

Revision 12
Added by CDuv over 5 years ago

Makes plugin compatible with GLPI 0.84

Applied changes as documented in GLPI Plugins wiki to make it compatible with GLPI 0.84 code.
  • Previous tabs management (based on "headings*" hooks) was removed (change initiated with GLPI 0.83 release): Removed "ajax/connection.tabs.php" which is not needed anymore.
  • getPlural() function changed and don't support tables in "...ed" anymore (eg. "glpi_plugin_connections_connectionratesguaranteed"): The corresponding item was renamed to PluginConnectionsGuaranteedConnectionRate so were the depending files/classes (dropdown, front, etc.). This name is also more english (adjectives before noun).
  • No need to define GLPI_ROOT constant anymore
  • Some methods/functions had changed names/location/prototype: adapted plugin to take this into account.
  • Translation now uses the __() method: Migrated $LANG uses for non-plugin texts
  • Use Toolbox::decodeArrayFromInput() when trying to filter out already used/linked items from dropdown
Also:
  • Fixed a missing locale for Rights management (not sure if it wasn't already broken in 1.6.3).

Sets plugin version to 1.6.4.

Closes: #4923

History

#1 Updated by CDuv over 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r12.

#2 Updated by CDuv over 5 years ago

  • Status changed from Resolved to Feedback
  • Target version set to 1.6.4

Also available in: Atom PDF