mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Ensure that clear() returns bool in all cache drivers
This commit is contained in:
parent
7beaff8241
commit
115ffa937e
3 changed files with 4 additions and 1 deletions
2
common/framework/drivers/cache/sqlite.php
vendored
2
common/framework/drivers/cache/sqlite.php
vendored
|
|
@ -242,5 +242,7 @@ class SQLite implements \Rhymix\Framework\Drivers\CacheInterface
|
|||
{
|
||||
$this->_dbh->exec('CREATE TABLE cache_' . $i . ' (k TEXT PRIMARY KEY, v TEXT, exp INT)');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue