Skip to content

Commit

Permalink
Execute app migration helper at startup to migrate extensions to Acro…
Browse files Browse the repository at this point in the history
…bit app format
  • Loading branch information
Stell0 committed Feb 13, 2024
1 parent 6f350f9 commit 7bc4c9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion freepbx/initdb.d/migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,7 @@
$db->query("INSERT INTO `rest_cti_macro_permissions_permissions` (`macro_permission_id`, `permission_id`) VALUES (12,1000);");
# move video_conference from settings to nethvoice_cti
$db->query("DELETE FROM `rest_cti_macro_permissions_permissions` WHERE `macro_permission_id` = 1 AND `permission_id` = 3000");
$db->query("INSERT INTO `rest_cti_macro_permissions_permissions` (`macro_permission_id`, `permission_id`) VALUES (12,3000);");
$db->query("INSERT INTO `rest_cti_macro_permissions_permissions` (`macro_permission_id`, `permission_id`) VALUES (12,3000);");

# Migrate old mobile app extensions to new Acrobit mobile app
include '/var/www/html/admin/freepbx/rest/lib/appMigrationHelper.php';

0 comments on commit 7bc4c9d

Please sign in to comment.