| @@ -1529,13 +1529,8 @@ | ||
| 1529 | 1529 | * @return int The total number of times a user has triggered the trigger |
| 1530 | 1530 | */ |
| 1531 | 1531 | function gamipress_get_user_trigger_count( $user_id, $trigger, $since = 0, $site_id = 0, $args = array() ) { |
| 1532 | 1532 | |
| 1533 | - // If not properly upgrade to required version fallback to compatibility function | |
| 1534 | - if( ! is_gamipress_upgraded_to( '1.4.7' ) ) { | |
| 1535 | - return gamipress_get_user_trigger_count_old_147( $user_id, $trigger, $since, $site_id, $args ); | |
| 1536 | - } | |
| 1537 | - | |
| 1538 | 1533 | // Set to current site id |
| 1539 | 1534 | if ( ! $site_id ) { |
| 1540 | 1535 | $site_id = get_current_blog_id(); |
| 1541 | 1536 | } |