We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc8974 commit 84ce811Copy full SHA for 84ce811
meta/AccessTableGlobal.php
@@ -24,11 +24,15 @@ public function clearData()
24
if (!$this->rid) return; // no data
25
26
/** @noinspection SqlResolve */
27
- $sql = 'DELETE FROM ? WHERE rid = ?';
28
- $this->sqlite->query($sql, 'data_' . $this->schema->getTable(), $this->rid);
29
- $this->sqlite->query($sql, 'multi_' . $this->schema->getTable(), $this->rid);
+ $sql = 'DELETE FROM data_' . $this->schema->getTable() . ' WHERE rid = ?';
+ $this->sqlite->query($sql, $this->rid);
+ $sql = 'DELETE FROM multi_' . $this->schema->getTable() . ' WHERE rid = ?';
30
31
}
32
33
+ /**
34
+ * @inheritDoc
35
+ */
36
protected function getLastRevisionTimestamp()
37
{
38
return 0;
0 commit comments