1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-11 00:24:19 +02:00

removed IDibiVariable & DibiVariable, replaced with DibiLiteral

This commit is contained in:
David Grudl
2012-01-12 00:43:06 +01:00
parent a8672bb6ff
commit 2a5934c385
4 changed files with 43 additions and 29 deletions

View File

@@ -24,6 +24,7 @@ if (version_compare(PHP_VERSION, '5.2.0', '<')) {
require_once dirname(__FILE__) . '/libs/interfaces.php';
require_once dirname(__FILE__) . '/libs/DibiDateTime.php';
require_once dirname(__FILE__) . '/libs/DibiObject.php';
require_once dirname(__FILE__) . '/libs/DibiLiteral.php';
require_once dirname(__FILE__) . '/libs/DibiHashMap.php';
require_once dirname(__FILE__) . '/libs/DibiException.php';
require_once dirname(__FILE__) . '/libs/DibiConnection.php';
@@ -43,20 +44,6 @@ if (interface_exists('Nette\Diagnostics\IBarPanel') || interface_exists('IBarPan
/**
* @deprecated
*/
class DibiVariable extends DibiDateTime
{
function __construct($val)
{
parent::__construct($val);
trigger_error(__CLASS__ . ' is deprecated; use class DateTime instead.', E_USER_WARNING);
}
}
/**