mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 05:33:36 +09:00
* fixed #1554;
* updated changelog.txt; * updated readme.txt; * clean comments;
This commit is contained in:
@@ -221,7 +221,6 @@ if ( ! class_exists( 'um\core\rest\API_v2' ) ) {
|
||||
|
||||
switch ( $data ) {
|
||||
case 'status':
|
||||
// UM()->user()->set_status( $value );
|
||||
UM()->common()->users()->set_status( $id, $value );
|
||||
$response['success'] = __( 'User status has been changed.', 'ultimate-member' );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user