Merge branch 'clean-boxes' into merge-clean-boxes

This commit is contained in:
Thibaud Fabre
2016-01-06 19:53:43 +01:00
56 changed files with 2546 additions and 902 deletions

View File

@@ -132,7 +132,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':