mirror of
https://github.com/openvk/openvk
synced 2025-04-23 00:23:01 +03:00
php 8.2 fixxxxxxxxxxxxxxxxxxxxxxx
This commit is contained in:
parent
6f3de576a8
commit
a4583c6b22
1 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ abstract class MediaCollection extends RowModel
|
|||
return !is_null($rel);
|
||||
}
|
||||
|
||||
function save(): void
|
||||
function save(?bool $log = false): void
|
||||
{
|
||||
$thisTable = DatabaseConnection::i()->getContext()->table($this->tableName);
|
||||
if(self::MAX_COUNT != INF)
|
||||
|
@ -188,7 +188,7 @@ abstract class MediaCollection extends RowModel
|
|||
else
|
||||
$this->stateChanges("edited", time());
|
||||
|
||||
parent::save();
|
||||
parent::save($log);
|
||||
}
|
||||
|
||||
function delete(bool $softly = true): void
|
||||
|
|
Loading…
Reference in a new issue