Skip to content

Commit

Permalink
Merge pull request #4471 from corentin-soriano/remove_unused_code
Browse files Browse the repository at this point in the history
Remove unused endpoints in xxx.queries.php.
  • Loading branch information
nilsteampassnet authored Nov 19, 2024
2 parents bd20ffa + 5293d98 commit 7a886fe
Show file tree
Hide file tree
Showing 8 changed files with 111 additions and 1,333 deletions.
3 changes: 0 additions & 3 deletions includes/language/arabic.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@
'at_user_new_lastname' => 'User #user_login# lastname changed',
'at_user_new_name' => 'User #user_login# name changed',
'info_list_of_connected_users_approximation' => 'Note: This list may show more users connected than are currently logged in.',
'disconnect_all_users' => 'Disconnect all users (except administrators)',
'role' => 'Role',
'admin_2factors_authentication_setting' => 'Enable Google two-factor authentication',
'admin_2factors_authentication_setting_tip' => 'Google two-factor authentication enhances logon security. When logging in, a QR code is displayed, which must be scanned into the user\'s Google Authentication app to receive a one-time password. Requires all users to have Google authentication app on an Internet-connected mobile device.',
Expand Down Expand Up @@ -797,7 +796,6 @@
'warning_screen_height' => 'Warning: web browser screen height insufficient to display password item list.',
'yes' => 'Yes',
'your_version' => 'Your version',
'disconnect_all_users_sure' => 'Are you sure you\'d like to disconnect all users?',
'Test the Email configuration' => 'Test email configuration',
'url_copied_clipboard' => 'URL copied to clipboard',
'url_copy' => 'Copy URL to clipboard',
Expand Down Expand Up @@ -1016,7 +1014,6 @@
'failed_logins' => 'Failed Logins',
'admin_2factor_authentication_tab' => '2FA Options',
'error_only_numbers_in_folder_name' => 'Folder label can not be just a number. Please give your folder a name which includes letters.',
'folder_will_be_moved_below' => 'The folder <b><span id=\\\'move_folder_title\\\'></span></b> will be moved below folder:',
'error_upload_runtime_not_found' => 'Upload feature: No runtime found.',
'runtime_upload' => 'Upload feature: runtime',
'encrypted_data' => 'Data is encrypted in database',
Expand Down
4 changes: 2 additions & 2 deletions pages/users.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ function(data) {
}
$.post(
"sources/users.queries.php", {
type: "get-user-infos",
type: "get_user_infos",
data: prepareExchangedData(JSON.stringify(data_to_send), 'encode', '<?php echo $session->get('key'); ?>'),
key: '<?php echo $session->get('key'); ?>'
},
Expand Down Expand Up @@ -1657,7 +1657,7 @@ function(data) {
}
$.post(
"sources/users.queries.php", {
type: "get-user-infos",
type: "get_user_infos",
data: prepareExchangedData(JSON.stringify(data_to_send), 'encode', '<?php echo $session->get('key'); ?>'),
key: '<?php echo $session->get('key'); ?>'
},
Expand Down
2 changes: 1 addition & 1 deletion sources/folders.queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

if (null !== $post_type) {
switch ($post_type) {
/*
/*
* BUILD liste of folders
*/
case 'build_matrix':
Expand Down
Loading

0 comments on commit 7a886fe

Please sign in to comment.