Compatibility with php 5.6 #261
This commit is contained in:
parent
e1ede4074c
commit
ab80b5d1d8
|
@ -603,7 +603,7 @@ class Logs extends Repository {
|
|||
|
||||
}
|
||||
|
||||
public function pre_delete_entity( Entities\Entity $entity, bool $permanent) {
|
||||
public function pre_delete_entity( Entities\Entity $entity, $permanent) {
|
||||
|
||||
if ( ! $entity->get_repository()->use_logs ) {
|
||||
return;
|
||||
|
@ -619,7 +619,7 @@ class Logs extends Repository {
|
|||
|
||||
}
|
||||
|
||||
public function delete_entity( Entities\Entity $entity, bool $permanent) {
|
||||
public function delete_entity( Entities\Entity $entity, $permanent) {
|
||||
|
||||
if ( ! $entity->get_repository()->use_logs ) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue