Skip to content

Commit

Permalink
pomm does not register point at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
chanmix51 committed Jul 2, 2011
1 parent 76e942a commit 2c5d2e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Model/Pomm/Database/VlibDb.php
Expand Up @@ -4,6 +4,7 @@


use Pomm\Connection\Database; use Pomm\Connection\Database;
use Pomm\Converter\PgEntity; use Pomm\Converter\PgEntity;
use Pomm\Converter\PgPoint;


class VlibDb extends Database class VlibDb extends Database
{ {
Expand All @@ -12,5 +13,6 @@ protected function initialize()
parent::initialize(); parent::initialize();


$this->registerConverter('VelibStationData', new PgEntity($this, 'Model\Pomm\Entity\Vlib\VelibStationData'), array('velib_station_data')); $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.