Plugin Directory

Changeset 882977


Ignore:
Timestamp:
03/27/2014 02:29:15 PM (12 years ago)
Author:
samface
Message:

fixed broken class variable access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • angry-creative-logger/trunk/classes/inspector.php

    r882244 r882977  
    1212        public static $log_path = "";
    1313        public static $errors = array();
     14        public static $log_count = 0;
    1415
    1516        private static $_default_log_path = "";
    1617        private static $_log_levels = array();
    17 
    18         private static $_log_count = 0;
    1918       
    2019        public function __construct() {
     
    3736
    3837            add_action( 'ac_inspection', function() {
    39                 AC_Inspector::log("Inspection completed with " . AC_Inspector::$_log_count . " remarks.");
     38                AC_Inspector::log("Inspection completed with " . AC_Inspector::$log_count . " remarks.");
    4039            }, 999, 0 );
    4140
     
    251250                }
    252251
    253                 self::$_log_count++;
     252                self::$log_count++;
    254253
    255254            }
Note: See TracChangeset for help on using the changeset viewer.