Fix lots of warnings that pop up when we're in E_STRICT mode. They're

mostly issues around uninitialized variables, calling non-static
functions in a static context, calling Session functions directly
instead of on its singleton, passing non-variables by reference, and
subclasses not using the same interface as the parent class.
This commit is contained in:
Bharat Mediratta
2010-01-31 16:07:41 -08:00
parent c6676dd455
commit c050acf30a
38 changed files with 111 additions and 36 deletions

View File

@@ -92,6 +92,7 @@ class Admin_Comments_Controller extends Admin_Controller {
}
private function _counts() {
$counts = new stdClass();
$counts->unpublished = 0;
$counts->published = 0;
$counts->spam = 0;