Skip to:
Content

BuddyPress.org

Changeset 5495


Ignore:
Timestamp:
12/10/2011 11:06:15 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove get_gmt_from_date() call when saving an edited activity stream item. Fixes #3833.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-admin.php

    r5493 r5495  
    461461            $ss = ( $ss > 59 ) ? $ss -60 : $ss;
    462462
    463             // Reconstruct the date into a timestamp. Convert it to GMT.
    464             $gmt_date = get_gmt_from_date( sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $aa, $mm, $jj, $hh, $mn, $ss ) );
     463            // Reconstruct the date into a timestamp
     464            $gmt_date = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $aa, $mm, $jj, $hh, $mn, $ss );
    465465
    466466            $activity->date_recorded = $gmt_date;
Note: See TracChangeset for help on using the changeset viewer.