mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
remove the manual inclusion of classes to let autoloader handle it (#7033)
By including the class manually with the include statement, the class has a possibility of loading twice. This will cause a fatal error if classes are already loaded.
This commit is contained in:
@@ -165,11 +165,6 @@
|
||||
return;
|
||||
}
|
||||
|
||||
//include the classes
|
||||
include "resources/classes/call_forward.php";
|
||||
include "resources/classes/follow_me.php";
|
||||
include "resources/classes/do_not_disturb.php";
|
||||
|
||||
//call forward config
|
||||
if (permission_exists('call_forward')) {
|
||||
//sanitize the destinations
|
||||
|
||||
Reference in New Issue
Block a user