Ticket #4684 (closed Feature Requests: fixed)

Opened 2 years ago

Last modified 2 years ago

Change to core_devices_configpageinit to allow other modules to add new devices

Reported by: daniele.martini Assigned to: p_lindheimer
Priority: minor Milestone: 2.9
Component: Core - Users/Devices Version: 2.8-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

By removing the call to:

$currentcomponent->addgeneralarray('devtechs')

in core_devices_configpageinit() it will allow other modules to add new device types. This is acceptable because the subsequent calls to $currentcomponent->addgeneralarrayitem() will initiate the array if it does not already exist where as the previous call will throw an error if the array already exists and the modules adding new device types may be called before this one.

More details here:

http://www.freepbx.org/forum/freepbx/development/execution-order-of-the-configpageinit-functions

reported by daniele.martini

Change History

12/12/10 12:18:51 changed by p_lindheimer

  • reporter changed from p_lindheimer to daniele.martini.

12/12/10 12:20:59 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [10703]) closes #4684 removes call to addgeneralarray() to allow other modues to add device types