Skip to content

Commit

Permalink
CustomVariableCache: Remove redundant destructor
Browse files Browse the repository at this point in the history
Property `$db` is not declared for it to be unset.
  • Loading branch information
raviks789 committed Aug 31, 2023
1 parent 3448869 commit 49b6c3f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/Director/Db/Cache/CustomVariableCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,4 @@ public function getVarsForObject(IcingaObject $object)
return new CustomVariables();
}
}

public function __destruct()
{
unset($this->db);
}
}

0 comments on commit 49b6c3f

Please sign in to comment.