1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 11:20:25 +02:00

some stuff is deprecated and throws E_USER_WARNING: dibi::datetime(), dibi::date(), dibi::addSubst(), dibi::removeSubst(), dibi::setSubstFallback(), DibiResult::rowCount(), DibiResult::getColumnNames(), DibiVariable

This commit is contained in:
David Grudl
2011-01-25 17:47:31 +01:00
parent 08099816d5
commit 0dc9db1d77
4 changed files with 18 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ dibi::test('
SELECT COUNT(*) as [count]
FROM [comments]
WHERE [ip] LIKE %s', $ipMask, '
AND [date] > ', dibi::date($timestamp)
AND [date] > ', new DibiDateTime($timestamp)
);
// -> SELECT COUNT(*) as [count] FROM [comments] WHERE [ip] LIKE '192.168.%' AND [date] > 876693600