Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/24/2013 11:29:04 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix PHP 5.4 static method call warnings in bp-messages-classes.php. See #5108.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-classes.php

    r6574 r7307  
    227227        }
    228228
    229         function get_inbox_count( $user_id = 0 ) {
     229        public static function get_inbox_count( $user_id = 0 ) {
    230230                global $wpdb, $bp;
    231231
     
    515515        }
    516516
    517         // Static Functions
     517        /** Static Methods ********************************************************/
    518518
    519519        /**
     
    525525         * @return array $notices
    526526         */
    527         function get_notices( $args = array() ) {
     527        public static function get_notices( $args = array() ) {
    528528                global $wpdb, $bp;
    529529
     
    545545        }
    546546
    547         function get_total_notice_count() {
     547        public static function get_total_notice_count() {
    548548                global $wpdb, $bp;
    549549
     
    553553        }
    554554
    555         function get_active() {
     555        public static function get_active() {
    556556                global $wpdb, $bp;
    557557
Note: See TracChangeset for help on using the changeset viewer.