mirror of
https://github.com/friendica/friendica
synced 2025-05-01 13:44:24 +02:00
Move "OPTIMIZE TABLE" to own Database function
This commit is contained in:
parent
32f322a4c1
commit
db5078d51c
2 changed files with 14 additions and 1 deletions
|
@ -108,6 +108,6 @@ final class DeliveryQueueItem extends \Friendica\BaseRepository
|
|||
|
||||
public function optimizeStorage(): bool
|
||||
{
|
||||
return $this->db->e("OPTIMIZE TABLE " . DBA::buildTableString([self::$table_name]));
|
||||
return $this->db->optimizeTable(self::$table_name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue