Skip to content

Commit

Permalink
Declare static method as static. Fixes warning reported by @justnorris
Browse files Browse the repository at this point in the history
  • Loading branch information
pdclark committed Aug 1, 2013
1 parent cea598e commit 146e2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-helpers.php
Expand Up @@ -21,7 +21,7 @@ static public function requirements_check() {
/**
* Require single-site install before activating.
*/
function require_no_multisite() {
static public function require_no_multisite() {
if ( function_exists( 'is_multisite' ) && !is_multisite() ) { return true; }

if ( is_admin() && (!defined('DOING_AJAX') || !DOING_AJAX) ) {
Expand Down

0 comments on commit 146e2f9

Please sign in to comment.