Skip to content

Commit

Permalink
Merge pull request #11 from humanmade/fix-php7-warning
Browse files Browse the repository at this point in the history
Update old style constructor
  • Loading branch information
joehoyle authored Dec 13, 2016
2 parents f6ea547 aa38a0f commit 556e67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 599,7 @@ function failure_callback( $host, $port ) {
}
}

function WP_Object_Cache() {
function __construct() {
global $memcached_servers, $blog_id, $table_prefix;

if ( isset( $memcached_servers ) ) {
Expand Down

0 comments on commit 556e67c

Please sign in to comment.