Plugin Directory

Changeset 129082


Ignore:
Timestamp:
06/24/2009 03:07:25 PM (17 years ago)
Author:
bforchhammer
Message:

Removed feature to sort by last user activity using the WP-UserOnline plugin (broken).

Location:
author-avatars/trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • author-avatars/trunk/lib/AuthorAvatarsForm.class.php

    r129076 r129082  
    316316            'user_id' => __('User Id', 'author-avatars'),
    317317        );
    318         if (AA_is_bp() || function_exists('get_memberlastvisit') ) {
     318        if (AA_is_bp()) {
    319319            $order_options['recent_activity'] = __('Recent Activity', 'author-avatars');
    320320        }
  • author-avatars/trunk/lib/UserList.class.php

    r122277 r129082  
    512512     * Returns the time of last activity for a given user.
    513513     *
    514      * This requires that either BuddyPress or the WP-UserOnline plugin is installed.
    515      * If neither is available the function returns an empty string.
     514     * This requires that BuddyPress is installed.
     515     * If it's not available the function returns an empty string.
    516516     *
    517517     * @param int $user_id
     
    521521        if (AA_is_bp()) {
    522522            return gmdate( 'Y-m-d H:i:s', (int)get_usermeta( $user_id, 'last_activity' ) );
    523         }
    524         if (function_exists('get_memberlastvisit') ) {
    525             return gmdate( 'Y-m-d H:i:s', (int)get_user_option( 'member_last_login', $user_id ));
    526523        }
    527524        return "";
Note: See TracChangeset for help on using the changeset viewer.