Ivan - Remove unset($this), that task should be done by the garbage collector. It doesn't work for php 7.1
This commit is contained in:
parent
d0517e8590
commit
911f457fbf
|
@ -134,7 +134,6 @@ abstract class DataStore {
|
||||||
|
|
||||||
public function delete() {
|
public function delete() {
|
||||||
RedBean::trash($this->getBeanInstance());
|
RedBean::trash($this->getBeanInstance());
|
||||||
unset($this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBeanInstance() {
|
public function getBeanInstance() {
|
||||||
|
|
Loading…
Reference in New Issue