Browse files

Fixes #16572: mc_user_pref_get_pref() requires read/write api access …

…where it shouldn't.
  • Loading branch information...
1 parent 8058018 commit 733b77a28c3a10b438d4d48100f81a5f43e09138 @vboctor vboctor committed Nov 3, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 api/soap/mc_user_pref_api.php
View
4 api/soap/mc_user_pref_api.php
@@ -29,9 +29,5 @@ function mc_user_pref_get_pref( $p_username, $p_password, $p_project_id, $p_pref
return mci_soap_fault_login_failed();
}
- if ( !mci_has_readonly_access( $t_user_id ) ) {
- return mci_soap_fault_access_denied( $t_user_id );
- }
-
return user_pref_get_pref( $t_user_id, $p_pref_name, $p_project_id );
}

0 comments on commit 733b77a

Please sign in to comment.