blob: ca0fce7ca1be6f0766cfa66040b4dd0c134a8454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
class FreshRSS_TagDAOSQLite extends FreshRSS_TagDAO {
public function sqlIgnore() {
return 'OR IGNORE';
}
protected function autoUpdateDb($errorInfo) {
if ($tableInfo = $this->pdo->query("SELECT sql FROM sqlite_master where name='tag'")) {
$showCreate = $tableInfo->fetchColumn();
if (stripos($showCreate, 'tag') === false) {
return $this->createTagTable(); //v1.12.0
}
}
return false;
}
}
|