Permalink
Browse files

pomm does not register point at startup

  • Loading branch information...
1 parent 76e942a commit 2c5d2e9ebf90baba6c0e372d49c0dccb6747c256 @chanmix51 chanmix51 committed Jul 2, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 Model/Pomm/Database/VlibDb.php
View
2 Model/Pomm/Database/VlibDb.php
@@ -4,6 +4,7 @@
use Pomm\Connection\Database;
use Pomm\Converter\PgEntity;
+use Pomm\Converter\PgPoint;
class VlibDb extends Database
{
@@ -12,5 +13,6 @@ protected function initialize()
parent::initialize();
$this->registerConverter('VelibStationData', new PgEntity($this, 'Model\Pomm\Entity\Vlib\VelibStationData'), array('velib_station_data'));
+ $this->registerConverter('Point', new PgPoint(), array('point'));
}
}

0 comments on commit 2c5d2e9

Please sign in to comment.