You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
424 B
20 lines
424 B
6 years ago
|
<?php
|
||
|
|
||
|
class FreshRSS_TagDAOSQLite extends FreshRSS_TagDAO {
|
||
|
|
||
|
public function sqlIgnore() {
|
||
|
return 'OR IGNORE';
|
||
|
}
|
||
|
|
||
|
protected function autoUpdateDb($errorInfo) {
|
||
|
if ($tableInfo = $this->bd->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;
|
||
|
}
|
||
|
|
||
|
}
|