Extract repository and factory classes for collections

This commit is contained in:
Thibaud Fabre
2015-07-08 19:54:06 +02:00
parent dd73d6dae2
commit ea6a4fdbf0
43 changed files with 971 additions and 428 deletions

View File

@@ -157,7 +157,7 @@ class PermalinkController extends AbstractDelivery
return $this->deliverContentWithCaptionLink($request, $record, $subdef, $watermark, $stamp, $token);
}
$collection = \collection::get_from_base_id($this->app, $record->get_base_id());
$collection = \collection::getByBaseId($this->app, $record->get_base_id());
switch ($collection->get_pub_wm()) {
default:
case 'none':