Skip to content

Commit

Permalink
object cache update
Browse files Browse the repository at this point in the history
  • Loading branch information
pacotole committed Jul 20, 2023
1 parent 3271189 commit d0e32ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ public function fetchAll() {
* @return bool Returns TRUE on success or FALSE on failure.
*/
public function flush( $delay = 0 ) {
$result = $this->m->flush( intval( $delay ) );
$result = $this->m->flush( (int) $delay );

// Only reset the runtime cache if memcached was properly flushed
if ( Memcached::RES_SUCCESS === $this->getResultCode() )
Expand Down

0 comments on commit d0e32ec

Please sign in to comment.