| @@ -110,13 +110,8 @@ | ||
| 110 | 110 | * @return array An array of all the achievement objects that matched our parameters, or empty if none |
| 111 | 111 | */ |
| 112 | 112 | function gamipress_get_user_achievements( $args = array() ) { |
| 113 | 113 | |
| 114 | - // If not properly upgrade to required version fallback to compatibility function | |
| 115 | - if( ! is_gamipress_upgraded_to( '1.2.8' ) ) { | |
| 116 | - return gamipress_get_user_achievements_old( $args ); | |
| 117 | - } | |
| 118 | - | |
| 119 | 114 | // Setup our default args |
| 120 | 115 | $defaults = array( |
| 121 | 116 | 'user_id' => 0, // The given user's ID |
| 122 | 117 | 'site_id' => get_current_blog_id(), // The given site's ID |
| @@ -235,13 +230,8 @@ | ||
| 235 | 230 | * |
| 236 | 231 | * @return bool The updated umeta ID on success, false on failure |
| 237 | 232 | */ |
| 238 | 233 | function gamipress_update_user_achievements( $args = array() ) { |
| 239 | - | |
| 240 | - // If not properly upgrade to required version fallback to compatibility function | |
| 241 | - if( ! is_gamipress_upgraded_to( '1.2.8' ) ) { | |
| 242 | - return gamipress_update_user_achievements_old( $args ); | |
| 243 | - } | |
| 244 | 234 | |
| 245 | 235 | // Setup our default args |
| 246 | 236 | $defaults = array( |
| 247 | 237 | 'user_id' => 0, // The given user's ID |