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:
frytimo
2024-07-04 12:12:34 -03:00
committed by GitHub
parent c0e1b1a6b5
commit 2b87349e7d

View File

@@ -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