Plugin Directory

Changeset 1042888


Ignore:
Timestamp:
12/11/2014 07:35:12 PM (11 years ago)
Author:
switzer
Message:

add static to methods to avoid debugging notices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • advertising-manager/trunk/lib/OX/Ad.php

    r1040857 r1042888  
    241241//      return $this->get('code');
    242242    }
    243     function import_detect_network($code)
     243    static function import_detect_network($code)
    244244    {
    245245        return false;
     
    285285        // Deal with revisions
    286286        $r = array();
    287         $now = mktime();
     287        $now = time();
    288288        $r[$now] = $user_login;
    289289       
Note: See TracChangeset for help on using the changeset viewer.