Truncate livephoto on clear
parent
92d6d9a5e2
commit
573f5c3fad
|
@ -213,7 +213,9 @@ class TimelineWrite
|
||||||
*/
|
*/
|
||||||
public function clear()
|
public function clear()
|
||||||
{
|
{
|
||||||
$sql = $this->connection->getDatabasePlatform()->getTruncateTableSQL('`*PREFIX*memories`', false);
|
$p = $this->connection->getDatabasePlatform();
|
||||||
$this->connection->executeStatement($sql);
|
$t1 = $p->getTruncateTableSQL('`*PREFIX*memories`', false);
|
||||||
|
$t2 = $p->getTruncateTableSQL('`*PREFIX*memories_livephoto`', false);
|
||||||
|
$this->connection->executeStatement("$t1; $t2");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue