Rename DBA::is_result to DBA::isResult
This commit is contained in:
committed by
Hypolite Petovan
parent
0ec44f3e8a
commit
ecea7425f8
@@ -17,7 +17,7 @@ class DatabaseCacheDriver extends AbstractCacheDriver implements ICacheDriver
|
||||
{
|
||||
$cache = DBA::selectFirst('cache', ['v'], ['`k` = ? AND `expires` >= ?', $key, DateTimeFormat::utcNow()]);
|
||||
|
||||
if (DBA::is_result($cache)) {
|
||||
if (DBA::isResult($cache)) {
|
||||
$cached = $cache['v'];
|
||||
$value = @unserialize($cached);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user