Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2010 07:33:39 PM (16 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-messages.php

    r3140 r3142  
    403403                'subject' => false,
    404404                'content' => false,
    405                 'date_sent' => time()
     405                'date_sent' => bp_core_current_time()
    406406        );
    407407
     
    493493                $notice->subject = $subject;
    494494                $notice->message = $message;
    495                 $notice->date_sent = time();
     495                $notice->date_sent = bp_core_current_time();
    496496                $notice->is_active = 1;
    497497                $notice->save(); // send it.
Note: See TracChangeset for help on using the changeset viewer.