Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2010 07:33:39 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2203 and #2497. Introduces bp_core_current_time function as central handler for all time related functions. Removes unused bp_core_format_time in lieu of currently used bp_format_time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-groups/bp-groups-classes.php

    r3113 r3142  
    771771        $this->inviter_id = 0;
    772772        $this->is_confirmed = 1;
    773         $this->date_modified = gmdate( "Y-m-d H:i:s" );
     773        $this->date_modified = bp_core_current_time();
    774774    }
    775775
    776776    function accept_request() {
    777777        $this->is_confirmed = 1;
    778         $this->date_modified = gmdate( "Y-m-d H:i:s" );
     778        $this->date_modified = bp_core_current_time();
    779779    }
    780780
Note: See TracChangeset for help on using the changeset viewer.