remove unneeded destruct methods as GC has higher performance (#6631)

Co-authored-by: Tim Fry <tim@voipstratus.com>
This commit is contained in:
frytimo
2023-04-27 23:18:53 -03:00
committed by GitHub
parent c0443e4da9
commit 69bd42af05
67 changed files with 0 additions and 655 deletions

View File

@@ -62,16 +62,6 @@ if (!class_exists('ring_groups')) {
}
/**
* called when there are no references to a particular object
* unset the variables used in the class
*/
public function __destruct() {
foreach ($this as $key => $value) {
unset($this->$key);
}
}
/**
* delete records
*/