[Managed_DataObject] Remove the "timestamp" type

It is converted to "datetime" in lib/database/schema.php
This commit is contained in:
Alexei Sorokin 2020-08-11 18:30:12 +03:00 committed by Diogo Peralta Cordeiro
parent 1095475645
commit d045bf6f5c

View File

@ -246,7 +246,6 @@ abstract class Managed_DataObject extends Memcached_DataObject
'date' => DB_DATAOBJECT_DATE, 'date' => DB_DATAOBJECT_DATE,
'time' => DB_DATAOBJECT_TIME, 'time' => DB_DATAOBJECT_TIME,
'datetime' => DB_DATAOBJECT_DATE | DB_DATAOBJECT_TIME, 'datetime' => DB_DATAOBJECT_DATE | DB_DATAOBJECT_TIME,
'timestamp' => DB_DATAOBJECT_MYSQLTIMESTAMP,
]; ];
if (isset($formatStyles[$type])) { if (isset($formatStyles[$type])) {