Index: src/bp-xprofile/bp-xprofile-admin.php
===================================================================
--- src/bp-xprofile/bp-xprofile-admin.php	(revision 8777)
+++ src/bp-xprofile/bp-xprofile-admin.php	(working copy)
@@ -36,7 +36,7 @@

 	$type = preg_replace( '|[^a-z]|i', '', $type );

-	$groups = BP_XProfile_Group::get( array(
+	$groups = bp_xprofile_get_groups( array(
 		'fetch_fields' => true
 	) );

@@ -287,7 +287,7 @@

 				do_action( 'xprofile_fields_saved_field', $field );

-				$groups = BP_XProfile_Group::get();
+				$groups = bp_xprofile_get_groups();
 				xprofile_admin( $message, $type );
 			}
 		} else {
